mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2024-11-09 17:50:30 +01:00
16 lines
300 B
Batchfile
16 lines
300 B
Batchfile
@echo off
|
|
|
|
if "%1"=="" (
|
|
echo Usage: %~n0 [source-file.exe [pet-options]]
|
|
goto exit
|
|
)
|
|
|
|
"%~dp0..\Pet" -nologo -strip -trunc -dropsect .idata,.rsrc -rebase 0 -osver 0.7 -log brief -into %*
|
|
if errorlevel 1 goto exit
|
|
|
|
"%~dp0..\exe2kos" "%1"
|
|
if errorlevel 1 goto exit
|
|
|
|
%~dp0..\kpack "%~dp1%~n1"
|
|
|
|
:exit |