WineskinServer
WineskinServer copied to clipboard
how to pass arguments to wrapper app(terminal and url schema)
Environment:
- OS: 13.4.1
- Winery version: 1.8.4
- Master Wrapper version: 2.9.1.9
- Engine version: WS11WineCX64Bit22.1.1-7
- Hardware: MacBook Pro 16 2019(Intel)
- Application
Describe the bug I want register a URL schema to Wrapper App. by modifying the Info.plist file, the app can be called, but It seems that arguments not pass correctly
then I try to run CustomEXE
with arguments directly, It shows same result.
To Reproduce I create a bat file instead of an exe,just easy to see output
- make bat
C:\test.bat
echo %0 > C:\result.txt
echo %1 >> C:\result.txt
echo %2 >> C:\result.txt
- create an app using
Custom EXE Creator
in Wineskin Tools panel
3.add url schema to info.plist
-
call url like
testsso://abc123
or run./TestSSO.app/Contents/MacOS/CustomEXE abc123
-
check the
C:\result.txt
"C:\test.bat"
Echo ���� ON ״̬
Echo ���� ON ״̬
Expected behavior
the C:\result.txt
should be
"C:\test.bat"
abc123
Screenshots
LastRunWine.log
no log output when it just run bat
LastRunWine.log