From 6addeeacffb4dc8cef2ee085a9234c8c75ea84d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 31 Jan 2026 13:42:26 +0100 Subject: [PATCH] Added: Association of file extensions in Windows setup (again) --- CHANGELOG.md | 1 + installer.nsi | 17 ++++------------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fbf1918d..43969f3b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. can be enabled in Advanced Settings / Display and Export. - [#2608] Updated WEBP image library so now it supports macOS x64 - [PR228] Association with `.swc` extension +- Association of file extensions in Windows setup (again) ### Fixed - [#2570] NullpointerException on SVG export of DefineEditText diff --git a/installer.nsi b/installer.nsi index 1eb78d900..1614ea3ac 100644 --- a/installer.nsi +++ b/installer.nsi @@ -25,8 +25,7 @@ Unicode true SetCompressor /SOLID lzma !include "StrFunc.nsh" !include x64.nsh -; Asociation - triggers Nemesis detection in VirusTotal :-( -;!include Integration.nsh +!include Integration.nsh !define APP_SHORTVERNAME "JPEXS FFDec v. ${APP_VER}" @@ -367,8 +366,6 @@ var SMDir !define REG_CLASSES_HKEY HKLM -/* ; Asociation - triggers Nemesis detection in VirusTotal :-( - var className !define VERB "ffdec" !define VERB_NAME "Open with FFDec" @@ -423,7 +420,6 @@ Function AddToExtContextMenu ${EndIf} FunctionEnd -*/ Section "FFDec" SecDummy SetShellVarContext all @@ -501,7 +497,6 @@ Function .onInit SectionSetFlags ${SecDummy} $0 FunctionEnd -/* ; Asociation - triggers Nemesis detection in VirusTotal :-( Section "$(STRING_ADD_CONTEXT_MENU)" SecContextMenu SetRegView 64 Push "swf" @@ -529,15 +524,14 @@ Section "$(STRING_ADD_CONTEXT_MENU)" SecContextMenu ${NotifyShell_AssocChanged} SectionEnd -*/ + ;-------------------------------- ;Descriptions ;Assign language strings to sections !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${SecDummy} "$(STRING_SECTION_APP)" - ; Asociation - triggers Nemesis detection in VirusTotal :-( - ; !insertmacro MUI_DESCRIPTION_TEXT ${SecContextMenu} "$(STRING_SECTION_CONTEXT_MENU)" + !insertmacro MUI_DESCRIPTION_TEXT ${SecContextMenu} "$(STRING_SECTION_CONTEXT_MENU)" !insertmacro MUI_DESCRIPTION_TEXT ${SecShortcut} "$(STRING_SECTION_SHORTCUT)" !insertmacro MUI_FUNCTION_DESCRIPTION_END @@ -586,7 +580,6 @@ Section "Uninstall" RmDir /r "$SMPROGRAMS\$SMDir\*.*" RmDir "$SMPROGRAMS\$SMDir" - /* ; Asociation - triggers Nemesis detection in VirusTotal :-( SetRegView 64 Push "swf" Call un.RemoveExtContextMenu @@ -611,9 +604,7 @@ Section "Uninstall" Push "swc" Call un.RemoveExtContextMenu - ${NotifyShell_AssocChanged} - - */ + ${NotifyShell_AssocChanged} StrCmp $uninstlocal 1 0 +5 SetShellVarContext current