Skip to content

Commit 57c7cfb

Browse files
committed
Fixes
1 parent c75522f commit 57c7cfb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

_msbuild.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ def mainw_exe(name):
201201
main_exe("python3"),
202202
mainw_exe("pythonw3"),
203203

204-
CProject(f"pyshellext",
204+
CProject("pyshellext",
205205
VersionInfo(
206206
FileDescription="Python shell extension",
207-
OriginalFilename=f"pyshellext.exe",
207+
OriginalFilename="pyshellext.exe",
208208
),
209209
Property('StaticLibcppLinkage', 'true'),
210210
ItemDefinition('ClCompile', LanguageStandard='stdcpp20'),
@@ -217,7 +217,6 @@ def mainw_exe(name):
217217
ResourceFile('pyshellext.rc'),
218218
source='src/pyshellext',
219219
ConfigurationType='Application',
220-
Platform=platform,
221220
),
222221
)
223222

src/pyshellext/shellext.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,10 @@ IExplorerCommand *MakeIdleCommand(HKEY hive, LPCWSTR root)
449449
{
450450
return Make<IdleCommand>(hive, root).Detach();
451451
}
452+
#endif
452453

453454

455+
#ifndef PYSHELLEXT_TEST
454456
class OutOfProcModule : public Module<OutOfProc, OutOfProcModule>
455457
{ };
456458

0 commit comments

Comments
 (0)