From 0de8b92db6d59b1dfd321ac1fe3edd3cdcba449c Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Tue, 8 Aug 2023 10:06:29 +0800 Subject: [PATCH] fix: deeplink doesn't work in windows exe installer --- frontend/scripts/windows_installer/inno_setup_config.iss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/scripts/windows_installer/inno_setup_config.iss b/frontend/scripts/windows_installer/inno_setup_config.iss index 12e7d7a25a..b584f8df53 100644 --- a/frontend/scripts/windows_installer/inno_setup_config.iss +++ b/frontend/scripts/windows_installer/inno_setup_config.iss @@ -20,4 +20,10 @@ Source: "AppFlowy\data\*";DestDir: "{app}\data\"; Flags: recursesubdirs [Icons] Name: "{userdesktop}\AppFlowy"; Filename: "{app}\AppFlowy.exe" -Name: "{group}\AppFlowy"; Filename: "{app}\AppFlowy.exe" \ No newline at end of file +Name: "{group}\AppFlowy"; Filename: "{app}\AppFlowy.exe" + +[Registry] +Root: HKCR; Subkey: "AppFlowy"; ValueType: "string"; ValueData: "URL:Custom Protocol"; Flags: uninsdeletekey +Root: HKCR; Subkey: "AppFlowy"; ValueType: "string"; ValueName: "URL Protocol"; ValueData: "" +Root: HKCR; Subkey: "AppFlowy\DefaultIcon"; ValueType: "string"; ValueData: "{app}\AppFlowy.exe,0" +Root: HKCR; Subkey: "AppFlowy\shell\open\command"; ValueType: "string"; ValueData: """{app}\AppFlowy.exe"" ""%1""" \ No newline at end of file