Eros,
yes, I like to have the greater number of possible choices and select select the level of complexity on which operating, but sometimes isn't possible.
http://community.thinbasic.com/index...sg4153#msg4153
Roberto.
Roberto,
what about adding a flag in main screen to set if included script must be obfuscated before adding to bundle exe?
I know user can manually obfuscate before and than add the obfuscated version but usually I (and you too I think) like to have all the options available when needed.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Eros,
yes, I like to have the greater number of possible choices and select select the level of complexity on which operating, but sometimes isn't possible.
http://community.thinbasic.com/index...sg4153#msg4153
Roberto.
http://www.thinbasic.com
Added to thinbasic_bundle the following function:
- Bundle_SetBundleName
- Bundle_SetScriptName
- Bundle_SetExtractionFolder
- Bundle_SetScriptParameters
- Bundle_SetFlagCompressAllFiles
- Bundle_SetFlagDeleteAfterRun
- Bundle_SetFlagAskBeforeExtract
Also changed the Bundle behavior from ThinAir, now it takes bundle name and main script from ThinAir's project if opened else get Bundle Name and main script from selected script.
You'll find these (plus other I hope) updates in the next release.
Cheers,
Roberto
http://www.thinbasic.com
Thanks,
looks promising and powerful !
Bye,
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Yes,
silently, step by step, Roberto is making a fantastic job I like it!
I will document them for next update.
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Thanks this will make it so much easier to share programs we make with friends.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Added function Bundle_SetFlagObfuscateMainScript to thinbasic_bundle.dll.
Also ThinAIR's command line is passed to the bundle.
User now could use a new flag for obfuscate the main script.
The Add Folder now working but folders are created without hidden flag and not delete at the end of script execution. I'll fix it later :
Here is a sample script for use of bundle module.
[code=thinbasic]uses "BUNDLE"
dim i as long
Bundle_SetBundleName("Bundle")
Bundle_SetScriptName("c:\thinbasic\samplescripts\bundle\Bundle.tbasic")
Bundle_SetScriptParameters("Hello")
Bundle_SetExtractionFolder("c:\temp")
Bundle_SetFlagCompressAllFiles(%TRUE)
Bundle_SetFlagAskBeforeExtract(%TRUE)
Bundle_SetFlagDeleteAfterRun(%TRUE)
Bundle_SetFlagObfuscateMainScript(%TRUE)
i = Bundle_Builder()
If i = 0 then
msgbox 0, "Bundled Executable Created."
else
if i = %BUNDLE_BUILDER_CANCELLED then
msgbox 0, "Bundle creation cancelled by user."
else
msgbox 0, "Error occured while creating bundle."
end if
end if[/code]
As usual you'll find the updates in the next release.
If you have time, please check out these update and let me know.
Regards,
Roberto
http://www.thinbasic.com
Thanks Roberto.
Very welcome additions.
I will try when released.
Regards,
catventure
http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)
Roberto, do I need to run the script to make a bundle or can I go in through thinAir's interface? Thanks, sorry for my confusion.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Hi Kryton9,
both two way are valid.
If you are in ThinAIR with an open project, just click on bundle icon and the bundle's window pops up with name, main script, and script's arguments pre filled.
Instead if you are in ThinAIR and without open project the bundle name and main script are collected from current active script (I mean MDI window).
But Bundle exist also as a standard ThinBASIC module so bundle creation is scriptable.
So if you are in ThinAIR with my sample script opened you can choose to click on Go or Bundle icon with (almost) the same effect.
Ciao,
Roberto
http://www.thinbasic.com
Bookmarks