From 0d63232ecc3c1c816b748050a0e1562734a7999b Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sat, 15 Apr 2023 17:22:07 +0200 Subject: [PATCH] actions test... again --- .github/workflows/linux.yml | 1 + .github/workflows/macos.yml | 1 + .github/workflows/windows.yml | 1 + Project.xml | 11 ++++++++++- commit-public.BAT | 2 +- source/funkin/savedata/FunkinSave.hx | 4 +++- 6 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c4332e35..5463a51b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -5,6 +5,7 @@ on: jobs: build: name: Linux Build + permissions: write-all runs-on: ubuntu-latest steps: - name: Pulling the source diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3ece903a..772db147 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -5,6 +5,7 @@ on: jobs: build: name: Mac OS Build + permissions: write-all runs-on: macos-latest steps: - name: Pulling the new commit diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c591639a..6088d1c2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -5,6 +5,7 @@ on: jobs: build: name: Windows Build + permissions: write-all runs-on: windows-latest steps: - name: Pulling the new commit diff --git a/Project.xml b/Project.xml index 80d15544..41bdd1ed 100644 --- a/Project.xml +++ b/Project.xml @@ -2,7 +2,16 @@ - + + + + diff --git a/commit-public.BAT b/commit-public.BAT index 054b5f94..d020c249 100644 --- a/commit-public.BAT +++ b/commit-public.BAT @@ -7,7 +7,7 @@ git commit -a -m %1 echo ============================== echo Pushing to dev repo... echo ============================== -git push -u origin dev +git push -u dev main echo ============================== echo Pushing to public repo... echo ============================== diff --git a/source/funkin/savedata/FunkinSave.hx b/source/funkin/savedata/FunkinSave.hx index 0643d99c..82e26c5c 100644 --- a/source/funkin/savedata/FunkinSave.hx +++ b/source/funkin/savedata/FunkinSave.hx @@ -1,5 +1,6 @@ package funkin.savedata; +import lime.app.Application; import openfl.Lib; import flixel.util.FlxSave; @@ -23,6 +24,8 @@ class FunkinSave { public static var save:FlxSave; public static function init() { + trace(Application.current.meta.get('save-path')); + trace(Application.current.meta.get('save-name')); save = new FlxSave(); save.bind('save-default', #if sys 'YoshiCrafter29/CodenameEngine' #else 'CodenameEngine' #end); load(); @@ -89,7 +92,6 @@ class FunkinSave { return false; } #end - } enum HighscoreEntry {