diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..64f7b27 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: ci +on: pull_request +jobs: + linux: + uses: ChristopherHX/linux-packaging-scripts/.github/workflows/main.yml@main + with: + submodule-refs: |- + [ + { + "project": "mcpelauncher-ui", + "path": "mcpelauncher-ui-qt", + "ref": ${{ tojson(github.sha) }} + } + ] + macOS: + uses: ChristopherHX/osx-packaging-scripts/.github/workflows/main.yml@main + with: + submodule-refs: |- + [ + { + "project": "mcpelauncher-ui", + "path": "mcpelauncher-ui-qt", + "ref": ${{ tojson(github.sha) }} + } + ] diff --git a/launcherapp_osx.mm b/launcherapp_osx.mm index 51222eb..8189a08 100644 --- a/launcherapp_osx.mm +++ b/launcherapp_osx.mm @@ -3,8 +3,4 @@ #import void LauncherApp::setVisibleInDock(bool visible) { - if (!visible) - [NSApp setActivationPolicy: NSApplicationActivationPolicyAccessory]; - else - [NSApp setActivationPolicy: NSApplicationActivationPolicyRegular]; -} \ No newline at end of file +}