-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3877 from vector-im/t3chguy/electron_install_fix
move electron -> electron_app because npm smart
- Loading branch information
Showing
24 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ cp "$tmpdir/256.png" "$tmpdir/Riot.iconset/icon_256x256.png" | |
cp "$tmpdir/512.png" "$tmpdir/Riot.iconset/[email protected]" | ||
cp "$tmpdir/512.png" "$tmpdir/Riot.iconset/icon_512x512.png" | ||
cp "$tmpdir/1024.png" "$tmpdir/Riot.iconset/[email protected]" | ||
iconutil -c icns -o electron/build/icon.icns "$tmpdir/Riot.iconset" | ||
iconutil -c icns -o electron_app/build/icon.icns "$tmpdir/Riot.iconset" | ||
|
||
cp "$tmpdir/36.png" "res/vector-icons/android-chrome-36x36.png" | ||
cp "$tmpdir/48.png" "res/vector-icons/android-chrome-48x48.png" | ||
|
@@ -79,17 +79,17 @@ cp "$tmpdir/144.png" "res/vector-icons/mstile-144x144.png" | |
cp "$tmpdir/150.png" "res/vector-icons/mstile-150x150.png" | ||
cp "$tmpdir/310.png" "res/vector-icons/mstile-310x310.png" | ||
cp "$tmpdir/310x150.png" "res/vector-icons/mstile-310x150.png" | ||
cp "$tmpdir/180.png" "electron/img/riot.png" | ||
cp "$tmpdir/180.png" "electron_app/img/riot.png" | ||
|
||
convert "$tmpdir/16.png" "$tmpdir/32.png" "$tmpdir/64.png" "$tmpdir/128.png" "$tmpdir/256.png" "res/vector-icons/favicon.ico" | ||
|
||
cp "res/vector-icons/favicon.ico" "electron/build/icon.ico" | ||
cp "res/vector-icons/favicon.ico" "electron/img/riot.ico" | ||
cp "res/vector-icons/favicon.ico" "electron_app/build/icon.ico" | ||
cp "res/vector-icons/favicon.ico" "electron_app/img/riot.ico" | ||
|
||
# https://github.com/electron-userland/electron-builder/blob/3f97b86993d4ea5172e562b182230a194de0f621/src/targets/LinuxTargetHelper.ts#L127 | ||
for i in 24 96 16 48 64 128 256 512 | ||
do | ||
cp "$tmpdir/$i.png" "electron/build/icons/${i}x${i}.png" | ||
cp "$tmpdir/$i.png" "electron_app/build/icons/${i}x${i}.png" | ||
done | ||
|
||
rm -r "$tmpdir" |