sciter-sdk
sciter-sdk copied to clipboard
Change the demo htm but app no change
Dear ,I'm a freshman .I just run the demo of osx,but when i changed the htm(default.htm use xcode) I don't get change when the app lunch.could somebody show me the reason.
I just run the demo of osx
What demo?
the demo under sciter-sdk.Just like:sciter-sdk/demos.osx/layered
layered has /res/ folder compiled into blob ( resources.cpp ).
So after changing anything inside /res/ folder you shall run compile-res.sh
to update resources.cpp .
thank you very much
I run the .sh under xcode Build Phases/Run Script but the result as below: /Users/a123/Library/Developer/Xcode/DerivedData/layered-dxfspwvysgnvhnbtydlvfwvjspzi/Build/Intermediates.noindex/layered.build/Debug/layered.build/Script-9D2A3B4A1FE3CCF400D589CD.sh: /Users/a123/Desktop/sciter-sdk/demos.osx/layered/compile-res.sh: /bin/sh^M: bad interpreter: No such file or directory
sorry for my so simple question.
compile-res.sh shall be called from folder where it resides.
cd /Users/a123/Desktop/sciter-sdk/demos.osx/layered/
./compile-res.sh
for previous reason should be encoded issue.I re-write the .sh content ,but another issue: cannot open ./res/ for writing. I checked permission of the res folder can write&read. /(ㄒoㄒ)/~~
I think, the problem is with packfolder
arguments: it must be in packfolder result_file.cpp input_directory
form.