Packfolder : archive your resource of sciter based application

Packfolder

packfolder is utility provided as part sciter-sdk. It compresses resources folder under a single file of the format of your choice ( should support by packfolder ). 

Currently, the supported output formats are

  • binary
  • c [ array of bytes ]
  • go [array of bytes ]
  • rust [ array of bytes ]


Syntex,


[path]\packfolder.exe [resource-folder] [resource-file].[ext] -V [name-of-variable] -[output-format]
  • path = full / relative path to packfolder.exe to execute command
  • resource-folder = full/relative path to the folder inside which your resource is contained
  • resource-file  = name of the file you want as your output file 
  • name-of-variable = it will the name of the variable that will initiate with the array of bytes of your resource folder
  • output-format = format of your output file

For example,

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

PS 08-packfolderIntro> .\packfolder.exe res res.go -v resources -go





Source Code  08-packfolderIntro

Comments

Post a Comment

Popular Posts