Skip to content

Commit

Permalink
More installer files for windows
Browse files Browse the repository at this point in the history
More installer files for windows
  • Loading branch information
Jessica authored and Jessica committed Feb 2, 2018
1 parent 4a0821b commit d29f2d9
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ let iconFile;
let platform = os.platform();

const iconFileWindows = path.resolve(__dirname, "src/icons/win/icon.ico");
const installerGifWindows = path.resolve(__dirname, "src/icons/win/installerGif.gif");


const iconFileMac = path.resolve(__dirname, "src/icons/mac/icon.icns");
if (platform === 'darwin') {
iconFile = iconFileMac;
Expand Down Expand Up @@ -46,6 +49,7 @@ module.exports = {
},
electronWinstallerConfig: {
"name": "ScratchJr",
loadingGif: installerGifWindows,
iconUrl: iconFileWindows,
exe: 'ScratchJr.exe',
setupIcon: iconFileWindows
Expand Down
1 change: 1 addition & 0 deletions src/electronClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ class AudioCapture {
throw (new Error('Recording audio is turned off'));
}

this.chunks = null;
this.currentStream = stream;
this.mediaRecorder = new MediaRecorder(stream);
this.mediaRecorder.ondataavailable = this.onRecordData.bind(this);
Expand Down
Binary file modified src/icons/png/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/png/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/png/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/png/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/png/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/png/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/win/icon.ico
Binary file not shown.
Binary file added src/icons/win/installerGif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d29f2d9

Please sign in to comment.