Skip to content

Commit

Permalink
Clean build directory and update Windows SDK version to 10.0.2004
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Aug 31, 2024
1 parent 39fceee commit 1ae139b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,11 @@ jobs:
with:
node-version: '20'

- name: Install electron-windows-store
run: npm install -g electron-windows-store

- name: Configure PowerShell
run: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
shell: pwsh

- name: Install dependencies
run: npm install

- name: Run npm audit fix
run: npm audit fix
- name: Clean build directory
run: npm run clean

- name: Build app
run: npm run make
Expand Down
24 changes: 12 additions & 12 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ const config: ForgeConfig = {
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
platforms: ['win32'],
config: (arch: string) => ({
name: 'Comet',
authors: 'Jerome Thayananthajothy',
exe: 'Comet.exe',
noMsi: true,
setupExe: `comet-${version}-win32-${arch}-setup.exe`,
setupIcon: path.resolve(iconDir, 'setup-icon.ico'),
}),
},
// {
// name: '@electron-forge/maker-squirrel',
// platforms: ['win32'],
// config: (arch: string) => ({
// name: 'Comet',
// authors: 'Jerome Thayananthajothy',
// exe: 'Comet.exe',
// noMsi: true,
// setupExe: `comet-${version}-win32-${arch}-setup.exe`,
// setupIcon: path.resolve(iconDir, 'setup-icon.ico'),
// }),
// },
{
name: '@electron-forge/maker-appx',
platforms: ['win32'],
Expand Down

0 comments on commit 1ae139b

Please sign in to comment.