Compare commits
77 Commits
Author | SHA1 | Date | |
---|---|---|---|
17010329f7 | |||
6e32d75f4a | |||
c0d30d193a | |||
c3dd84900d | |||
|
09ed08b5d2 | ||
|
97f7d8e43a | ||
|
7a23d2b915 | ||
|
2d211242c1 | ||
|
7992cfa1fc | ||
|
b1842a3b9c | ||
|
61fbc1b098 | ||
|
f9e54ba09d | ||
|
ec30df1f40 | ||
|
a1be90abf9 | ||
|
f9878d8494 | ||
|
f1d66e2782 | ||
|
a6359541ea | ||
|
4260339f86 | ||
|
7901b0b4d1 | ||
|
8bafe89e58 | ||
|
3bb2cb2076 | ||
|
0c49677773 | ||
|
29795cf5ff | ||
|
99e68e8779 | ||
|
0905b3076d | ||
|
f0e1d56113 | ||
|
16c76820f6 | ||
|
9078caa243 | ||
|
cb6d04d77b | ||
|
0953beffb2 | ||
|
0c2f82e147 | ||
|
11a2350cb6 | ||
|
0a2bc3cf6b | ||
|
f3be41cf54 | ||
|
89fb630585 | ||
|
829fc7199a | ||
|
704179ac64 | ||
|
dd57086170 | ||
|
b5133fa883 | ||
|
a5562b62be | ||
|
7e275a32c5 | ||
|
fda22a62ca | ||
|
978371d90b | ||
|
28ee956d13 | ||
|
176631f21b | ||
|
bccdc364a8 | ||
|
45babe8f61 | ||
|
646cc229db | ||
|
bdfe476f94 | ||
|
ee3e552a22 | ||
|
5a009fa2b2 | ||
|
f104657f90 | ||
|
d1330da312 | ||
|
4aa52bb0fd | ||
|
86191e9a1f | ||
|
1bab5c50c5 | ||
|
4e3077ed77 | ||
|
54bfb48caf | ||
|
4596c9cb8f | ||
|
722eca26aa | ||
|
e66ca63973 | ||
|
d5f34786da | ||
|
316529404b | ||
|
fac4a7e3e8 | ||
|
77056b1f63 | ||
|
f1fb977e65 | ||
|
5d5f29c386 | ||
|
2524dd7497 | ||
|
5508fbc7d5 | ||
|
96a89998ec | ||
|
8014a1a78c | ||
|
a4451f5f9a | ||
|
401ff5f1af | ||
|
dafcc0c774 | ||
|
79ddd25bbb | ||
|
f44261d1ce | ||
|
917df37e7d |
171
.github/workflows/buildnw.yml
vendored
Normal file
|
@ -0,0 +1,171 @@
|
|||
name: Build apps
|
||||
|
||||
on:
|
||||
[push, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
buildandroid:
|
||||
name: Build Android app
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get repository code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: android
|
||||
|
||||
- name: Build Android app
|
||||
run: chmod +x gradlew && ./gradlew assembleWebview
|
||||
|
||||
- name: Upload Android build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: KitsuneOffline-android.apk
|
||||
path: app/build/outputs/apk/webview/release/app-webview-release-unsigned.apk
|
||||
|
||||
buildios:
|
||||
name: Build iOS app
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Get repository code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ios
|
||||
|
||||
- name: Install Cordova
|
||||
run: npm install cordova -g
|
||||
|
||||
- name: Add iOS platform
|
||||
run: cordova platform add ios && npm install cordova-icon
|
||||
|
||||
- name: Build iOS app
|
||||
run: cordova build ios --target iPhone-8
|
||||
|
||||
- name: Make .ipa Archive
|
||||
run: cd platforms/ios/build/emulator && mkdir Payload && mv Kitsune.app Payload && zip -r kitsune-ios.ipa Payload
|
||||
|
||||
- name: Upload iOS app
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: kitsune-ios.ipa
|
||||
path: platforms/ios/build/emulator/kitsune-ios.ipa
|
||||
|
||||
buildnw:
|
||||
name: Build NW.js apps
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get repository code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Create build directory
|
||||
run: mkdir build
|
||||
|
||||
- name: Download Windows x64 NW.js
|
||||
run: wget https://dl.nwjs.io/v0.66.1/nwjs-v0.66.1-win-x64.zip
|
||||
|
||||
- name: Download Windows ia32 NW.js
|
||||
run: wget https://dl.nwjs.io/v0.66.1/nwjs-v0.66.1-win-ia32.zip
|
||||
|
||||
- name: Download Linux x64 NW.js
|
||||
run: wget https://dl.nwjs.io/v0.66.1/nwjs-v0.66.1-linux-x64.tar.gz
|
||||
|
||||
- name: Download Linux ia32 NW.js
|
||||
run: wget https://dl.nwjs.io/v0.66.1/nwjs-v0.66.1-linux-ia32.tar.gz
|
||||
|
||||
- name: Download MacOS NW.js
|
||||
run: wget https://dl.nwjs.io/v0.66.1/nwjs-v0.66.1-osx-x64.zip
|
||||
|
||||
- name: Extract Windows x64 NW.js
|
||||
run: unzip nwjs-v0.66.1-win-x64.zip
|
||||
|
||||
- name: Extract Windows ia32 NW.js
|
||||
run: unzip nwjs-v0.66.1-win-ia32.zip
|
||||
|
||||
- name: Extract Linux x64 NW.js
|
||||
run: tar -xvf nwjs-v0.66.1-linux-x64.tar.gz
|
||||
|
||||
- name: Extract Linux ia32 NW.js
|
||||
run: tar -xvf nwjs-v0.66.1-linux-ia32.tar.gz
|
||||
|
||||
- name: Extract MacOS NW.js
|
||||
run: unzip nwjs-v0.66.1-osx-x64.zip
|
||||
|
||||
- name: Delete archives
|
||||
run: rm nwjs-v0.66.1-linux-x64.tar.gz nwjs-v0.66.1-win-x64.zip nwjs-v0.66.1-linux-ia32.tar.gz nwjs-v0.66.1-win-ia32.zip nwjs-v0.66.1-osx-x64.zip
|
||||
|
||||
- name: Rename and move NW.js directories
|
||||
run: mv nwjs-v0.66.1-linux-x64 build/KitsuneOffline-linux-x64 && mv nwjs-v0.66.1-win-x64 build/KitsuneOffline-win-x64 && mv nwjs-v0.66.1-linux-ia32 build/KitsuneOffline-linux-ia32 && mv nwjs-v0.66.1-win-ia32 build/KitsuneOffline-win-ia32 && mv nwjs-v0.66.1-osx-x64/nwjs.app build/Kitsune.app
|
||||
|
||||
- name: Create package.nw directories
|
||||
run: mkdir build/KitsuneOffline-linux-x64/package.nw && mkdir build/KitsuneOffline-win-x64/package.nw && mkdir build/KitsuneOffline-linux-ia32/package.nw && mkdir build/KitsuneOffline-win-ia32/package.nw && mkdir build/Kitsune.app/Contents/Resources/app.nw
|
||||
|
||||
- name: Copy NW.js directories
|
||||
run: cp -r logos build/KitsuneOffline-linux-x64/package.nw && cp -r logos build/KitsuneOffline-win-x64/package.nw && cp -r logos build/KitsuneOffline-linux-ia32/package.nw && cp -r logos build/KitsuneOffline-win-ia32/package.nw && cp -r logos build/Kitsune.app/Contents/Resources/app.nw && cp -r gstatic build/KitsuneOffline-linux-x64/package.nw && cp -r gstatic build/KitsuneOffline-win-x64/package.nw && cp -r gstatic build/KitsuneOffline-linux-ia32/package.nw && cp -r gstatic build/KitsuneOffline-win-ia32/package.nw && cp -r gstatic build/Kitsune.app/Contents/Resources/app.nw && cp -r silica build/KitsuneOffline-linux-x64/package.nw && cp -r silica build/KitsuneOffline-win-x64/package.nw && cp -r silica build/KitsuneOffline-linux-ia32/package.nw && cp -r silica build/KitsuneOffline-win-ia32/package.nw && cp -r silica build/Kitsune.app/Contents/Resources/app.nw
|
||||
|
||||
- name: Copy package.json to NW.js directories
|
||||
run: cp package.json build/KitsuneOffline-linux-x64/package.nw && cp package.json build/KitsuneOffline-win-x64/package.nw && cp package.json build/KitsuneOffline-linux-ia32/package.nw && cp package.json build/KitsuneOffline-win-ia32/package.nw && cp package.json build/Kitsune.app/Contents/Resources/app.nw
|
||||
|
||||
- name: Rename executables
|
||||
run: mv build/KitsuneOffline-linux-x64/nw build/KitsuneOffline-linux-x64/kitsune && mv build/KitsuneOffline-linux-ia32/nw build/KitsuneOffline-linux-ia32/kitsune && mv build/KitsuneOffline-win-x64/nw.exe build/KitsuneOffline-win-x64/kitsune.exe && mv build/KitsuneOffline-win-ia32/nw.exe build/KitsuneOffline-win-ia32/kitsune.exe
|
||||
|
||||
- name: Create Debian installer file structure
|
||||
run: mkdir build/KitsuneOffline-debian-x64 && mkdir build/KitsuneOffline-debian-x64/usr && mkdir mkdir build/KitsuneOffline-debian-x64/DEBIAN && mkdir build/KitsuneOffline-debian-x64/usr/bin && mkdir build/KitsuneOffline-debian-x64/usr/lib && mkdir build/KitsuneOffline-debian-x64/usr/share && mkdir build/KitsuneOffline-debian-x64/usr/share/applications
|
||||
|
||||
- name: Copy Linux build to Debian installer
|
||||
run: cp -r build/KitsuneOffline-linux-x64 build/KitsuneOffline-debian-x64/usr/lib
|
||||
|
||||
- name: Create Symlink to command
|
||||
run: cd build/KitsuneOffline-debian-x64/usr/bin && ln -s ../lib/KitsuneOffline-linux-x64/kitsune
|
||||
|
||||
- name: Copy control file
|
||||
run: cp DEBIAN/control build/KitsuneOffline-debian-x64/DEBIAN
|
||||
|
||||
- name: Copy desktop file
|
||||
run: cp kitsune.desktop build/KitsuneOffline-debian-x64/usr/share/applications
|
||||
|
||||
- name: Create Debian installer
|
||||
run: cd build && dpkg-deb --build KitsuneOffline-debian-x64
|
||||
|
||||
- name: Create Windows archives
|
||||
run: cd build && zip -r KitsuneOffline-win-x64.zip KitsuneOffline-win-x64 && zip -r KitsuneOffline-win-ia32.zip KitsuneOffline-win-ia32
|
||||
|
||||
- name: Create Linux archives
|
||||
run: cd build && tar -czvf KitsuneOffline-linux-x64.tar.gz KitsuneOffline-linux-x64 && tar -czvf KitsuneOffline-linux-ia32.tar.gz KitsuneOffline-linux-ia32
|
||||
|
||||
- name: Create MacOS archive
|
||||
run: cd build && zip -r KitsuneOffline-osx.zip Kitsune.app
|
||||
|
||||
- name: Upload Windows x64 build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: KitsuneOffline-win-x64.zip
|
||||
path: build/KitsuneOffline-win-x64.zip
|
||||
|
||||
- name: Upload Linux x64 build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: KitsuneOffline-linux-x64.tar.gz
|
||||
path: build/KitsuneOffline-linux-x64.tar.gz
|
||||
|
||||
- name: Upload Windows ia32 build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: KitsuneOffline-win-ia32.zip
|
||||
path: build/KitsuneOffline-win-ia32.zip
|
||||
|
||||
- name: Upload Linux ia32 build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: KitsuneOffline-linux-ia32.tar.gz
|
||||
path: build/KitsuneOffline-linux-ia32.tar.gz
|
||||
|
||||
- name: Upload Debian installer build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: KitsuneOffline-debian-x64.deb
|
||||
path: build/KitsuneOffline-debian-x64.deb
|
||||
|
||||
- name: Upload MacOS build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: KitsuneOffline-osx.zip
|
||||
path: build/KitsuneOffline-osx.zip
|
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
build/*
|
3
.idea/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
9
.idea/KitsuneOffline.iml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
6
.idea/misc.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
8
.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/KitsuneOffline.iml" filepath="$PROJECT_DIR$/.idea/KitsuneOffline.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
8
DEBIAN/control
Normal file
|
@ -0,0 +1,8 @@
|
|||
Package: kitsune
|
||||
Version: 1.0
|
||||
Section: custom
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Essential: no
|
||||
Maintainer: Lennon McLean
|
||||
Description: An offline version of Google's Kitsune doodle game.
|
25
README.md
|
@ -1,6 +1,25 @@
|
|||
# KitsuneOffline
|
||||
Offline (NW.JS package) for Kitsune Google Doodle, (The championship island thing)
|
||||
|
||||
also includes version rc5 of the game in 'logos/' folder.
|
||||
you can run a web server and just browse to the thing if you want, you dont acturally need this, its just easier.
|
||||
![CI/CD Badge](https://github.com/KuromeSan/KitsuneOffline/actions/workflows/buildnw.yml/badge.svg)
|
||||
|
||||
Local Offline version of Kitsune Google Doodle, (Doodle Champion Island Games)
|
||||
useful if you want to play without internet (or just want to mod the game)
|
||||
|
||||
*rc7 version files located in logos/ folder*
|
||||
|
||||
How to play: (for noobs)
|
||||
Goto the releases page, download the zip and open kitsune.exe, there your done!
|
||||
https://github.com/KuromeSan/KitsuneOffline/releases/latest
|
||||
|
||||
For pros (or if you just dont trust my executables):
|
||||
WHAT DO YOU MEAN YOU DONT TRUST SOME RANDOM DUDE ON THE INTERNETS EXECUTABLES???!!!
|
||||
gosh okay, you wanna do it yourself? FINE
|
||||
|
||||
download the latest nw.js from: https://nwjs.io/downloads/,
|
||||
then download the latest release of https://github.com/iteufel/nwjs-ffmpeg-prebuilt and replace nwjs ffmpeg.dll with that one
|
||||
(this makes video playback work)
|
||||
|
||||
finally copy package.json and logos/ from this repository into the NWJS folder. start nw.exe and your done
|
||||
|
||||
If you like living on the edge:
|
||||
You can download the releases from Github Actions directly. NOTE: THESE BUILDS ARE CREATED AFTER EVERY COMMIT!!! That means that if a game-breaking bug gets accidentally introduced, then the build will be broken and not work. This is in contrast to the releases page where builds are tested before release.
|
||||
|
|
9
kitsune.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Kitsune
|
||||
Comment=An offline version of Google's Kitsune doodle game.
|
||||
Exec=kitsune
|
||||
Icon=/usr/lib/kitsune-linux-x64/package.nw/logos/favicon.ico
|
||||
Terminal=false
|
||||
Categories=Game;
|
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 78 KiB |
BIN
logos/2020/kitsune/rc7/CTA-Archery-174787996-174787824.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 337 B |
BIN
logos/2020/kitsune/rc7/CTA-Closing-174787829-192414335.png
Normal file
After Width: | Height: | Size: 6.8 KiB |