diff --git a/.github/workflows/repo-creation.yml b/.github/workflows/repo-creation.yml index c4a2577..4abff59 100644 --- a/.github/workflows/repo-creation.yml +++ b/.github/workflows/repo-creation.yml @@ -17,6 +17,7 @@ jobs: run: | sed -i "s/Base Bot/${{ github.event.repository.name }} - Discord Bot/g" bot_setup.iss sed -i "s/%APP_ID%/$(uuidgen)/g" bot_setup.iss + sed -i "s/%REPO_OWNER%/${{ github.event.repository.owner.name }}/g" bot_setup.iss - name: Check for changes run: | @@ -29,4 +30,4 @@ jobs: uses: EndBug/add-and-commit@v9 with: default_author: github_actions - message: "setup(bot_setup.iss): update application name and replace placeholder App ID" + message: "setup(bot_setup.iss): replace placeholders" diff --git a/bot_setup.iss b/bot_setup.iss index eaf3b67..1be0558 100644 --- a/bot_setup.iss +++ b/bot_setup.iss @@ -3,8 +3,8 @@ #define MyAppName "Base Bot" #define MyAppVersion "1.0" -#define MyAppPublisher "ToasterUwU" -#define MyAppURL "https://github.com/ToasterUwU" +#define MyAppPublisher "%REPO_OWNER%" +#define MyAppURL "https://github.com/%REPO_OWNER%" #define MyAppExeName "bot.exe" [Setup]