From 4a940e62b499a285f956f2fbb0e5f5a317db4a67 Mon Sep 17 00:00:00 2001 From: Map Date: Fri, 22 Mar 2024 03:13:03 -0500 Subject: [PATCH] impliment changes to allow building on woodpecker This also generates strange update files within the distribution folder that I can't seem to disable, but don't prevent building (Aside from possibly just making it slower) --- .android.json | 1 + .gitignore | 5 +---- renconstruct.toml | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 .android.json create mode 100644 renconstruct.toml diff --git a/.android.json b/.android.json new file mode 100644 index 0000000..1c70f82 --- /dev/null +++ b/.android.json @@ -0,0 +1 @@ +{"expansion": false, "heap_size": "3", "icon_name": "Snoot Game", "include_pil": false, "include_sqlite": false, "layout": null, "name": "Snoot Game", "numeric_version": 1, "orientation": "sensorLandscape", "package": "cavemanon.snootgame", "permissions": ["VIBRATE", "INTERNET"], "source": false, "store": "none", "update_always": true, "update_icons": true, "update_keystores": true, "version": "9.0"} \ No newline at end of file diff --git a/.gitignore b/.gitignore index cc8cc93..e25f054 100644 --- a/.gitignore +++ b/.gitignore @@ -51,7 +51,4 @@ env *.rpymc #backups -*.bak - -#android -.android.json \ No newline at end of file +*.bak \ No newline at end of file diff --git a/renconstruct.toml b/renconstruct.toml new file mode 100644 index 0000000..c967782 --- /dev/null +++ b/renconstruct.toml @@ -0,0 +1,51 @@ +[tasks.clean] + enabled = false + priorities = { post_build = 0 } # the priority that determines the orders tasks will run in, defaults to 0 + on_builds = ["pc", "win", "linux", "mac", "web", "steam", "market", "android_apk", "android_aab"] # builds this task should run for, defaults to all available builds + +[tasks.notarize] # required if matching task is enabled + enabled = false + priorities = { post_build = 10 } # the priority that determines the orders tasks will run in, defaults to 10 + on_builds = ["mac"] # builds this task should run for, defaults to "mac" + bundle_identifier = "com.my-game" # the bundle ID of your came, typically in reverse domain notation + key_file = "certificates/private-key.pem" # the path to the private key file generated during the provisioning process + cert_file = "certificates/developerID_application.cer" # the path to the Apple-generated certificate file generated during the provisioning process + app_store_key_file = "certificates/app-store-key.json" # the path to the combined App Store key file generated during the provisioning process + json_bundle_file = "certificates/renotize.json" # the path to the combined certificate file. replaces the key, cert and app store files above + +[tasks.keystore] # required if matching task is enabled + enabled = false + priorities = { pre_build = 0 } # the priority that determines the orders tasks will run in, defaults to 0 + on_builds = ["android_apk", "android_aab"] # builds this task should run for, defaults to all android builds + keystore_apk = "" # the base-64 encoded binary keystore file for the APK bundles + keystore_aab = "" # the base-64 encoded binary keystore file for the AAB bundles + +[tasks.convert_images] + enabled = false + format = "webp" # webp or avif + priorities = { pre_build = 10 } # the priority that determines the orders tasks will run in, defaults to 10 + on_builds = ["pc", "win", "linux", "mac", "web", "steam", "market", "android_apk", "android_aab"] # builds this task should run for, defaults to all available builds + # extensions: a list of file extensions to convert + # recursive: scans directories recursively if enabled, otherwise only scans the immediate directory + # lossless: converts to lossless WebP if enabled, otherwise converts to lossy WebP + "game/images/cg" = { extensions = ["png", "jpg"], recursive = true, lossless = true } # default values + "game/images/bg" = { lossless = false } + "game/images" = { } # all parameters are optional + +[build] # required, at least one item must be 'true' + #pc = true # windows + linux + #win = true # windows + #linux = true # linux + #mac = true # macos + #web = false # web + steam = true # steam + market = true # multiple markets (i.e. itch.io) + android_apk = true # Android Universal APK + #android_aab = false # Android Play Store Bundle + +[options] + clear_output_dir = false # whether to clear the output directory on startup + +[renutil] + version = "8.0.3" # the Ren'Py version to use (required) + registry = "tmp/cache" # the directory to store installation files in