mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Adding an icon to nxmhandler so that it looks pretty in firefox
This commit is contained in:
@@ -19,17 +19,15 @@ env.AppendUnique(LIBS = 'shell32')
|
||||
|
||||
runner = env.File(os.path.join('..', '..', 'pythonRunner', 'pythonRunner.dll'))
|
||||
|
||||
env.AppendUnique(RCFLAGS = [
|
||||
'/dSCONS_VARIANT',
|
||||
'/i"%s"' % runner.dir
|
||||
])
|
||||
|
||||
runner_env = env.Clone()
|
||||
runner_env.AppendUnique(CPPDEFINES = 'SCONS_BUILD')
|
||||
runner_env.AppendUnique(CPPPATH = runner.dir)
|
||||
rc = runner_env.RES('embedrunner.rc')
|
||||
# Make sure we have the proper dependencies so it gets built
|
||||
env.Depends('embedrunner.res', runner)
|
||||
runner_env.Depends(rc, runner)
|
||||
|
||||
# There's a whole load of unused C++ files in here.
|
||||
lib = env.SharedLibrary('proxyPython',
|
||||
[ 'proxypython.cpp' ] + env.RES(env.Glob('*.rc')))
|
||||
lib = env.SharedLibrary('proxyPython', [ 'proxypython.cpp' ] + rc)
|
||||
|
||||
env.InstallModule(lib)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "resource.h"
|
||||
|
||||
#ifdef SCONS_VARIANT
|
||||
#ifdef SCONS_BUILD
|
||||
IDR_LOADER_DLL BINARY MOVEABLE PURE pythonRunner.dll
|
||||
#else
|
||||
#ifdef _DEBUG
|
||||
|
||||
Reference in New Issue
Block a user