Commit Graph

58 Commits

Author SHA1 Message Date
2c322d4de8 progress doing remove cmd, and removing GetPackage function from the pkg package, now GetPackage function can be found on package utils 2025-09-27 00:39:49 -03:00
fe81e6bf22 Revert "setting data_dir variable to a string with the package data folder"
This reverts commit 2cfe78721a.
2025-09-23 19:09:50 -03:00
2cfe78721a setting data_dir variable to a string with the package data folder 2025-09-23 19:08:21 -03:00
ff986ef943 now InstallPackage function from packets package don't try to read a config.toml, it get the path to install by a param; added async dependency install process 2025-09-21 22:52:03 -03:00
f34308367e Implement UDP socket server and add package installation check utility 2025-09-21 10:34:49 -03:00
68b394523d Add ed25519 public key and enhance package installation error handling
- Embed ed25519 public key for signature verification when doing sync prcess with servidordomal.fun
- Improve error handling in AddToInstalledDB to rollback on failure
- Update InstallPackage function to accept io.Reader instead of *os.File
2025-09-20 21:55:34 -03:00
3929493bfb enhance package database schema and configuration; add dependencies 2025-09-20 19:31:38 -03:00
2620ec00ab implement package synchronization and validation; update database schema and add error handling 2025-09-20 19:12:01 -03:00
fdb21aacc5 added .Execute to run cobracmds 2025-09-20 11:02:35 -03:00
3c770c469d better file organization 2025-09-18 20:12:07 -03:00
1c00df24a4 Added ask for lan function 2025-09-13 23:11:48 -03:00
f3ccd6d683 Clean Install function and Download function 2025-09-13 22:57:52 -03:00
8de2eaced7 Doing organization improvements 2025-09-13 22:24:04 -03:00
c0057ca053 Deleting all to rewrite better 2025-09-13 20:45:07 -03:00
61149ae711 Added description for GetPackageByMirror function 2025-09-08 22:23:15 -03:00
379f640f33 added Install function description 2025-09-08 22:22:03 -03:00
5c39f7ab2c making LANDeadline const, more readable 2025-09-03 22:43:25 -03:00
b676ea873e Setting a global variable on lua scripts to check if is running safely or not 2025-09-03 22:26:39 -03:00
b6a67b30c5 Creating table packages on installed.db if doesn't exists 2025-09-03 22:22:18 -03:00
c0a8922c2e Setting a const variable to default deadline for lan deadline 2025-09-02 13:14:35 -03:00
4a198d9056 Added build.compile and build.requirements to upgrade and install process [NEED TO BE TESTED ON LUA] 2025-08-20 13:41:37 -03:00
8f07394cc0 I don't want to use a closure in the lua funcition, so i did a global var to set the sandbox path. Added build.requirements() and build.compile() to lua 2025-08-20 13:37:24 -03:00
4cd007886c Improved package messages and added two functions to compile from source code 2025-08-20 13:18:45 -03:00
284beff7f2 Now you can't install two packages from the same family 2025-08-20 11:17:15 -03:00
cf8f8b0214 Changed some wrong variables name and added info command to see every data from index.db, maybe info will use internet to get from servidordomal.fun 2025-08-17 22:42:52 -03:00
ad80c94f37 Adding a message for linux users 2025-08-17 22:16:53 -03:00
2bce5cd58b fixed an error, trying to rewrite a flag, sorry 2025-08-17 22:14:55 -03:00
302d033406 Added --unsefe to remove lua script sandboxing and fixed an wrong lua function name 2025-08-17 22:09:40 -03:00
19bda03e2a Add auto upgrade function, and search function with some bug fixes 2025-08-13 14:15:48 -03:00
98e6ada4a1 Improved CLI messages 2025-08-12 18:16:56 -03:00
331dba55f1 started to use cobra ( need to test this version) 2025-08-12 17:55:57 -03:00
45135b45a7 Udp socket giving the right http port 2025-08-12 17:12:44 -03:00
bb3ef5bb63 Removed require() and package for all lua VMs 2025-08-05 19:31:39 -03:00
3b381c937a Removed package and require() in lua while installing 2025-08-05 19:21:09 -03:00
cd7a2f7cf9 removed some white spaces 2025-08-04 23:07:05 -03:00
cf172c0d47 changed the default sync url to https://servidordomal.fun/index.db 2025-08-04 22:40:19 -03:00
b1d3ce1b2b todo 2025-08-03 22:17:34 -03:00
bed296fd4a spacebar 2025-08-03 16:31:46 -03:00
7e83f4db85 writing in the manifest.toml in upgrade() 2025-08-03 16:30:12 -03:00
2d3d5a1677 updating the manifest.json with information on Install() 2025-08-03 16:28:12 -03:00
6708f705ee os.mkdir(path, perm) lua function added 2025-08-02 16:29:42 -03:00
5f07a8825a fixing 2025-08-02 13:57:24 -03:00
afb27816df hard 2025-08-02 12:38:36 -03:00
f7dfa0d430 testing 2025-08-02 11:03:44 -03:00
bf4ec434a9 little improvements 2025-08-02 10:18:28 -03:00
4fe636e629 blocking some io functions 2025-08-01 20:08:16 -03:00
bab7c39770 added lua VM for installation, and changed the standard os library from lua 2025-08-01 18:00:08 -03:00
a4373f7254 small fixes 2025-08-01 17:19:00 -03:00
336303389a changing shellscripts to lua scripts for safety and control 2025-08-01 17:12:06 -03:00
86a77dece4 changed xz package for zst 2025-08-01 16:01:40 -03:00