Skip to content

Commit

Permalink
Minor changes to windows installer, icons, and shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
musm committed May 25, 2019
1 parent 826bb8b commit 6998c4a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contrib/windows/build-installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ FunctionEnd
Function createDesktopLink
${NSD_GetState} $Checkbox $0
${If} $0 <> 0
CreateShortCut "$DESKTOP\julia.lnk" "$INSTDIR\bin\julia.exe"
CreateShortCut "$DESKTOP\julia.lnk" "$INSTDIR\bin\julia.exe" "" "$INSTDIR\bin\julia.exe" 0
${EndIf}
FunctionEnd

Expand Down Expand Up @@ -107,7 +107,7 @@ Section "Dummy Section" SecDummy
SetOutPath $INSTDIR
File /a /r "julia-${Commit}\*"
WriteUninstaller "$INSTDIR\uninstall.exe"
CreateShortcut "$INSTDIR\julia.lnk" "$INSTDIR\bin\julia.exe"
CreateShortcut "$INSTDIR\julia.lnk" "$INSTDIR\bin\julia.exe" "" "$INSTDIR\bin\julia.exe" 0

# ARP entries
WriteRegStr HKCU "${ARP}" \
Expand Down
23 changes: 23 additions & 0 deletions contrib/windows/icon-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

Generate the logo
```julia
using Luxor
Drawing(325, 325, joinpath(pwd(), "julia-dots.svg"))
origin()
translate(0, 25)
juliacircles(100)
finish()
```

Create the ico file
```sh
#!/bin/bash

for size in 16 20 24 32 40 48 64 128 256; do
rsvg-convert -w $size -h $size julia-dots.svg -o $size.png
done

convert 256.png 128.png 64.png 48.png 40.png 32.png 24.png 20.png 16.png julia.ico

rm 256.png 128.png 64.png 48.png 40.png 32.png 24.png 20.png 16.png
```
Binary file modified contrib/windows/julia.ico
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion contrib/windows/julia.rc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BEGIN
VALUE "FileDescription", "Julia Programming Language"
VALUE "FileVersion", JLVER_STR
VALUE "InternalName", "julia"
VALUE "LegalCopyright", "MIT Licensed"
VALUE "LegalCopyright", "(c) 2009-2019 Julia Language"
VALUE "OriginalFilename", "julia.exe"
VALUE "ProductName", "Julia"
VALUE "ProductVersion", JLVER_STR
Expand Down

0 comments on commit 6998c4a

Please sign in to comment.