mirror of
https://github.com/janet-lang/janet
synced 2024-11-17 22:24:49 +00:00
Hold off on adding file associations on windows.
This commit is contained in:
parent
3c133bd677
commit
166862ecff
@ -2,7 +2,6 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## Unreleased
|
||||
- Add file associations on windows with default install.
|
||||
- Add `(dyn :executable)` at top level to get what used to be
|
||||
`(process/args 0)`.
|
||||
- Add `:linux` to platforms returned by `(os/which)`.
|
||||
|
@ -18,7 +18,6 @@ VIFileVersion "${PRODUCT_VERSION}"
|
||||
!include "MultiUser.nsh"
|
||||
!include "MUI2.nsh"
|
||||
!include ".\tools\EnvVarUpdate.nsh"
|
||||
!include ".\tools\FileAssociation.nsh"
|
||||
!include "LogicLib.nsh"
|
||||
|
||||
# Basics
|
||||
@ -118,9 +117,6 @@ section "Janet" BfWSection
|
||||
!insertmacro WriteEnv JANET_LIBPATH "$INSTDIR\C"
|
||||
!insertmacro WriteEnv JANET_BINPATH "$INSTDIR\bin"
|
||||
|
||||
# File Association
|
||||
${registerExtension} "$INSTDIR\bin\janet.exe" ".janet" "Janet Source File"
|
||||
|
||||
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
|
||||
|
||||
# Update path
|
||||
@ -175,9 +171,6 @@ section "uninstall"
|
||||
${un.EnvVarUpdate} $0 "PATH" "R" "HKCU" "$INSTDIR\bin" ; Remove
|
||||
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin" ; Remove
|
||||
|
||||
# Unregister file assocations
|
||||
${unregisterExtension} ".janet" "Janet Source File"
|
||||
|
||||
# make sure windows knows about the change
|
||||
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user