mirror of https://gitlab.com/basile.b/dexed.git
setup, remove useless null sentinel
This commit is contained in:
parent
459f5add40
commit
cc7aad9bd5
|
@ -354,7 +354,6 @@ void postInstall()
|
|||
{
|
||||
version(Windows)
|
||||
{
|
||||
|
||||
import
|
||||
core.sys.windows.basetyps, core.sys.windows.com,
|
||||
core.sys.windows.objbase, core.sys.windows.objidl,
|
||||
|
@ -373,11 +372,10 @@ void postInstall()
|
|||
char[MAX_PATH] _desktopFolder;
|
||||
SHGetFolderPathA(null, CSIDL_DESKTOPDIRECTORY, null, 0, _desktopFolder.ptr);
|
||||
char[] desktopFolder = _desktopFolder.ptr.fromStringz();
|
||||
string target = exePath ~ "coedit.exe\0";
|
||||
string wdir = exePath ~ "\0";
|
||||
string target = exePath ~ "coedit.exe";
|
||||
string wdir = exePath ~ "";
|
||||
const(wchar)* linkPath = buildNormalizedPath(desktopFolder, "Coedit.lnk").toUTF16z();
|
||||
|
||||
|
||||
CoInitialize(null);
|
||||
IShellLinkA shellLink;
|
||||
IPersistFile linkFile;
|
||||
|
|
Loading…
Reference in New Issue