Compare commits
73 Commits
Author | SHA1 | Date |
---|---|---|
Li | 17010329f7 | |
Li | 6e32d75f4a | |
Li | c0d30d193a | |
Li | c3dd84900d | |
Bluzume | 09ed08b5d2 | |
Bluzume | 97f7d8e43a | |
Bluzume | 7a23d2b915 | |
Lennon McLean | 2d211242c1 | |
Lennon McLean | 7992cfa1fc | |
Lennon McLean | b1842a3b9c | |
Lennon McLean | 61fbc1b098 | |
Lennon McLean | f9e54ba09d | |
Lennon McLean | ec30df1f40 | |
Lennon McLean | a1be90abf9 | |
Lennon McLean | f9878d8494 | |
Lennon McLean | f1d66e2782 | |
Bluzume | a6359541ea | |
Bluzume | 4260339f86 | |
Bluzume | 7901b0b4d1 | |
Lennon McLean | 8bafe89e58 | |
Lennon McLean | 3bb2cb2076 | |
Lennon McLean | 0c49677773 | |
Bluzume | 29795cf5ff | |
Lennon McLean | 99e68e8779 | |
Lennon McLean | 0905b3076d | |
Lennon McLean | f0e1d56113 | |
Lennon McLean | 16c76820f6 | |
Lennon McLean | 9078caa243 | |
Lennon McLean | cb6d04d77b | |
Lennon McLean | 0953beffb2 | |
Lennon McLean | 0c2f82e147 | |
Lennon McLean | 11a2350cb6 | |
Lennon McLean | 0a2bc3cf6b | |
Lennon McLean | f3be41cf54 | |
Lennon McLean | 89fb630585 | |
Lennon McLean | 829fc7199a | |
Lennon McLean | 704179ac64 | |
Lennon McLean | dd57086170 | |
Lennon McLean | b5133fa883 | |
Bluzume | a5562b62be | |
Lennon McLean | 7e275a32c5 | |
Lennon McLean | fda22a62ca | |
Lennon McLean | 978371d90b | |
Lennon McLean | 28ee956d13 | |
Lennon McLean | 176631f21b | |
Lennon McLean | bccdc364a8 | |
Lennon McLean | 45babe8f61 | |
Lennon McLean | 646cc229db | |
Lennon McLean | bdfe476f94 | |
Lennon McLean | ee3e552a22 | |
Lennon McLean | 5a009fa2b2 | |
Lennon McLean | f104657f90 | |
Lennon McLean | d1330da312 | |
Lennon McLean | 4aa52bb0fd | |
Lennon McLean | 86191e9a1f | |
Lennon McLean | 1bab5c50c5 | |
Lennon McLean | 4e3077ed77 | |
Lennon McLean | 54bfb48caf | |
Lennon McLean | 4596c9cb8f | |
Lennon McLean | 722eca26aa | |
Lennon McLean | e66ca63973 | |
Lennon McLean | d5f34786da | |
Lennon McLean | 316529404b | |
Lennon McLean | fac4a7e3e8 | |
Lennon McLean | 77056b1f63 | |
Bluzume | f1fb977e65 | |
Bluzume | 5d5f29c386 | |
Bluzume | 2524dd7497 | |
Bluzume | 5508fbc7d5 | |
Bluzume | 96a89998ec | |
Bluzume | 8014a1a78c | |
Bluzume | a4451f5f9a | |
Bluzume | 401ff5f1af |
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
build/*
|
|
@ -0,0 +1,3 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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.
|
||||
|
|
|
@ -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 |
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 |
After Width: | Height: | Size: 6.8 KiB |