diff --git a/README.md b/README.md index 946217c..e1b88e8 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,11 @@ For designing an app icon, [App Icon Preview](https://flathub.org/apps/org.gnome 4. Edit the code. Help is available [here](https://david-swift.gitbook.io/adwaita/), ask questions in the [discussions](https://github.com/AparokshaUI/Adwaita/discussions/). 5. You can edit the app's icons using the previously installed tools according to [this](https://blogs.gnome.org/tbernard/2019/12/30/designing-an-icon-for-your-app/) tutorial. 6. In GNOME Builder, click on the dropdown next to the hammer and then on `Export`. Wait until the file manager appears, open the `.flatpak` file and install the app on your device! +7. If you want to publish your app, replace `debug` in the following build commands by `release`: +``` +"swift build -c debug --static-swift-stdlib", +"install -Dm755 .build/debug/AdwaitaTemplate /app/bin/AdwaitaTemplate", +``` ### Flatpak SPM Generator diff --git a/io.github.AparokshaUI.AdwaitaTemplate.json b/io.github.AparokshaUI.AdwaitaTemplate.json index 6ee9059..1ff2c92 100644 --- a/io.github.AparokshaUI.AdwaitaTemplate.json +++ b/io.github.AparokshaUI.AdwaitaTemplate.json @@ -40,8 +40,8 @@ } ], "build-commands": [ - "swift build -c release --static-swift-stdlib", - "install -Dm755 .build/release/AdwaitaTemplate /app/bin/AdwaitaTemplate", + "swift build -c debug --static-swift-stdlib", + "install -Dm755 .build/debug/AdwaitaTemplate /app/bin/AdwaitaTemplate", "install -Dm644 data/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xml $DESTDIR/app/share/metainfo/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xml", "install -Dm644 data/io.github.AparokshaUI.AdwaitaTemplate.desktop $DESTDIR/app/share/applications/io.github.AparokshaUI.AdwaitaTemplate.desktop", "install -Dm644 data/icons/io.github.AparokshaUI.AdwaitaTemplate.svg $DESTDIR/app/share/icons/hicolor/scalable/apps/io.github.AparokshaUI.AdwaitaTemplate.svg",