Ticket #663 (closed enhancement: fixed)
Rewritten Win32 launcher
| Reported by: | dolmen | Owned by: | Sewi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | trunk |
| Keywords: | win32 launcher | Cc: |
Description
I completely rewrote the Win32 launcher.
Here are the features of the new launcher:
- localisable with resource file
- only kernel32 and user32 libraries used (no more shell32 and msvcrt could be bypassed too if I find the right gcc/ld flags)
- quotes around Padre script path (to allow perl path containing spaces)
- fixed the build script
Attachments
Change History
Changed 4 years ago by dolmen
- Attachment compile_padre.bat added
comment:1 Changed 4 years ago by azawawi
- Owner set to azawawi
- Status changed from new to assigned
Great work!
Do you have an account to commit it or shall i commit it?
comment:2 Changed 4 years ago by dolmen
Thanks.
I don't have a commit bit... yet. Of course your blessing may help.
comment:4 Changed 4 years ago by Sewi
- Owner changed from azawawi to Sewi
- Status changed from assigned to accepted
I compiled it and it seems to work - if placed in the wperl.exe - dir.
Could you change it to try both, $exe_dir\wperl.exe and C:\strawberry\perl\bin\wperl.exe and use the first one you find?
comment:5 Changed 4 years ago by dolmen
$exe_dir is already handled.
Hardcoding a path (C:\strawberry\perl\bin) is not a good thing to do. It will not be a solution for Portable Strawberry Perl and make Portable Perl issues less visible (as not seen by the dev team).
However looking for WPerl.exe in %PATH% as a fallback may be a idea.

Build script