Fix opening issues

This commit is contained in:
confused-Techie 2024-08-01 23:00:57 -07:00
parent ac0f090b7e
commit 39a9f74933

View File

@ -287,8 +287,8 @@ class FileExtHandler {
{ name: "AppUserModelID", value: "dev.pulsar-edit.pulsar" },
{ name: "FriendlyTypeName", value: `Pulsar ${fileType.desc}` },
{ name: "", key: "DefaultIcon", value: `${Path.join(process.execPath, "..", "resources", "icons", fileType.ico)}` },
{ name: "", key: "shell\\open\\command", value: `"${appPath}" "%1"` },
{ name: "", key: "shell\\open", value: `"${appPath}"` }
{ name: "", key: "shell\\open\\command", value: `${appPath} "%1"` },
{ name: "Icon", key: "shell\\open", value: `${fileIconPath}` }
]
);