Skip to content

Commit e7a64e0

Browse files
committed
Updated Workflow
1 parent 1b0510d commit e7a64e0

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/draft-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v2.1.4
1717
- run: sudo apt-get install --no-install-recommends -y bsdtar libopenjp2-tools rpm
1818
- run: npm install
19-
- run: GH_TOKEN="${{ secrets.WORKFLOW_TOKEN }}" npm run build && electron-builder -c.extraMetadata.main=build/main.js --linux deb AppImage rpm pacman tar.xz
19+
- run: GH_TOKEN="${{ secrets.WORKFLOW_TOKEN }}" npm run ci-build
2020
- uses: "marvinpinto/action-automatic-releases@latest"
2121
with:
2222
repo_token: "${{ secrets.WORKFLOW_TOKEN }}"

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.1.2",
44
"private": true,
55
"main": "public/main.js",
6-
"homepage": "https://github.com/flavioislima/HeroicGamesLauncher",
6+
"homepage": "./",
77
"license": "GPL-3.0-only",
88
"description": "A native launcher for Epic Games for Linux based on Legendary",
99
"repository": {
@@ -121,7 +121,8 @@
121121
"build": "react-scripts build",
122122
"test": "react-scripts test",
123123
"eject": "react-scripts eject",
124-
"dist": "npm run build && electron-builder -c.extraMetadata.main=build/main.js --linux AppImage"
124+
"ci-build": "GH_TOKEN='${{ secrets.WORKFLOW_TOKEN }}' npm run build && electron-builder -c.extraMetadata.main=build/main.js --linux deb AppImage rpm pacman tar.xz",
125+
"dist": "npm run build && electron-builder -c.extraMetadata.main=build/main.js --linux deb AppImage rpm pacman tar.xz"
125126
},
126127
"eslintConfig": {
127128
"extends": [

src/components/Settings/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function Settings() {
7777
);
7878
}
7979
);
80-
}, [appName, settings, type, isDefault]);
80+
}, [appName, settings, type, isDefault, setUseGameMode, setShowFps]);
8181

8282
const GlobalSettings = {
8383
defaultSettings: {

0 commit comments

Comments
 (0)