busyloop / rucksack

Attach static files to your compiled crystal binary and access them at runtime.
MIT License
53 stars 5 forks source link

Rucksack shard cannot be used under windows, because of the 20% shell scripts content #7

Closed serge-hulne closed 1 year ago

serge-hulne commented 1 year ago

Rucksack shard cannot be used under windows, because of the 20% shell scripts content.

PS C:\Users\serge\Documents\vue-tests\vue-tests-nomodules\rucksack\app> crystal build --release src\app.cr
Error: while requiring "rucksack"
Error: Error executing process: 'rm -f C:\\Users\\serge\\Documents\\vue-tests\\vue-tests-nomodules\\rucksack\\app\\lib\\rucksack\\src/.rucksack_packer.cr .rucksack.toc': The system cannot find the file specified.
m-o-e commented 1 year ago

That's true, it only works on Linux and OSX. Will add a corresponding warning to the README.