Commit Graph

2618 Commits

Author SHA1 Message Date
6af55ec007
Merge pull request #347 from gnh1201/dev
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Has been cancelled
Refactor install script and add websocat support
2025-11-21 19:29:35 +09:00
a51e9ff1b4 Update launcher path in registry command
Changed the registry command for opening scripts to reference WelsonJS.Launcher.exe in the 'bin' subdirectory instead of the root application directory. This ensures the correct executable path is used after installation.
2025-11-21 19:17:05 +09:00
77dc2b88c5 Update user data directory logic and version info
Replaced usage of SYS.getEnvString("APPDATA") with SYS.getAppDataDir() for determining the user data directory. Updated VERSIONINFO to 0.5.4 to reflect the change.
2025-11-21 19:11:08 +09:00
5d907e3869 Update app data directory path and version info
Changed the app data directory from 'WelsonJS' to 'welsonjs' for consistency. Bumped VERSIONINFO to 0.1.7 to reflect the update.
2025-11-21 19:07:02 +09:00
fd3a34fc20 Update websocket.js for improved path handling
Refactored default WebSocket executable path selection to check for a user-specific installation before falling back to architecture-based defaults. Updated comments for clarity and incremented version to 0.2.4.
2025-11-21 18:57:23 +09:00
49ebde6835 Improve error handling in afterInstall.ps1
Enhanced error reporting by checking if caught errors are System.Exception and printing the appropriate message. This provides clearer output for both exception and non-exception error types during file download, extraction, and main script execution.
2025-11-21 17:57:18 +09:00
9b6fa4d233
Update afterInstall.ps1
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
2025-11-21 16:55:27 +09:00
f2f16d7488
Update afterInstall.ps1
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
2025-11-21 16:52:16 +09:00
ef966dfe1d Refactor install script and add websocat support
Refactored helper functions for clarity and consistency, including renaming and parameter changes. Added support for downloading and installing websocat, updated artifact URLs and extraction logic, and improved architecture-specific handling for optional tools. Enhanced output messages and error handling throughout the script.
2025-11-21 16:05:39 +09:00
4f6040d260
Merge pull request #346 from gnh1201/dev
Some checks failed
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
CodeQL / Analyze (javascript) (push) Has been cancelled
Improve the installation process
2025-11-21 12:00:40 +09:00
cc86267471 Update launcher path in registry and shortcut
Changed the registry command and Start Menu shortcut to reference WelsonJS.Launcher.exe in the user app data directory, ensuring correct file location and execution.
2025-11-21 11:53:25 +09:00
Namhyeon, Go
c75859b350 Enable registry section in setup script
Uncommented the [Registry] section in setup.iss to allow registry entries to be created during installation. This change is necessary for proper file association and protocol handling.
2025-11-21 11:31:00 +09:00
15e6596285 Fix EXE_PATH case in service scripts
Updated the EXE_PATH variable in both installService.bat and uninstallService.bat to use 'welsonjs' instead of 'WelsonJS' for consistency and to avoid potential path issues.
2025-11-21 11:01:10 +09:00
ca8bd275bf Update service paths and installer registry keys
Service executable paths in installService.bat and uninstallService.bat now use %APPDATA% for improved portability. The setup.iss installer script updates registry keys to use the application name macro, adjusts file and icon paths to user appdata, and changes PowerShell execution flags. afterInstall.ps1 now downloads and extracts WelsonJS binary artifacts from a remote URL.
2025-11-21 10:50:31 +09:00
8e1ef781e7
Merge pull request #345 from gnh1201/dev
Add afterInstall.ps1 to installer sources
2025-11-21 10:11:44 +09:00
54a76f7078 Add afterInstall.ps1 to installer sources
Included afterInstall.ps1 in the setup script to ensure it is copied to the application directory during installation.
2025-11-20 17:34:24 +09:00
2317be5c49
Merge pull request #343 from gnh1201/dev
Some checks are pending
CodeQL / Analyze (javascript) (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
Support the file association registration for WelsonJS supported file types
2025-11-20 17:32:57 +09:00
2e92255a3c Use 'using' statement for InstancesForm disposal
Replaces manual disposal of InstancesForm with a 'using' statement to ensure proper resource management and exception safety when recording to the metadata database.
2025-11-20 17:31:50 +09:00
4bd05fd2a2
Update afterInstall.ps1
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-20 17:26:11 +09:00
186561639e Add FILE module import and init PythonObject
Imported the FILE module in python3.js and updated PythonObject to initialize the default Python binary path upon creation. Also removed the copyright year range from the file header.
2025-11-20 17:24:26 +09:00
1a75388a69 Fix relative path calculation in file copy loop
Normalizes source directory path before calculating relative file paths to ensure correct substring indexing and prevent off-by-one errors when copying files.
2025-11-20 17:21:47 +09:00
b3b00771c5 Refactor zip file run logic in MainForm
Removed the _filePath field and refactored zip file handling to pass file paths directly as parameters. Simplified the RunAppPackageFile workflow and eliminated redundant methods for improved clarity and maintainability.
2025-11-20 17:14:49 +09:00
afe7d6213a Refactor deploy time recording and improve instance setup
Moved RecordFirstDeployTime from MainForm to Program for better separation of concerns. Updated instance directory creation and asset copying logic in Program.cs to support JS entrypoints, including library copying and first deploy time recording. Added a sleep call to helloworld.js for demonstration purposes.
2025-11-20 17:09:43 +09:00
33c64d50c9 Add afterInstall.ps1 and update tool paths to APPDATA
Introduces afterInstall.ps1 for post-install setup, downloading and extracting required tools to the APPDATA\WelsonJS directory. Updates code in http.js, python3.js, ovftool.js, wamr.js, and system.js to reference binaries from the new APPDATA location. Modifies setup.iss to run the PowerShell script after installation.
2025-11-20 16:44:20 +09:00
6f172aafe1 Revert "Enable COM interop registration in project config"
This reverts commit 4fb7b95c0e.
2025-11-20 14:56:59 +09:00
ce2e6fe103
Merge pull request #344 from gnh1201/dependabot/npm_and_yarn/js-yaml-4.1.1
Some checks are pending
CodeQL / Analyze (javascript) (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
Bump js-yaml from 4.1.0 to 4.1.1
2025-11-20 09:39:31 +09:00
54293b89b6
Update README.md
Some checks are pending
CodeQL / Analyze (javascript) (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
2025-11-19 14:34:31 +09:00
7a49694ff7
Update README.md 2025-11-19 14:33:10 +09:00
d156e40e6b Add Korea business area code checker example
Refactored korea_business_areacode.json to include metadata and expanded area code data. Added korea_biz_area_checker.js example script to read Excel files and match business numbers to area names using the updated area code data.
2025-11-19 12:23:22 +09:00
f86ea078c6 Add new file to .gitignore
Added do_not_push_production_on_friday.js to .gitignore to prevent accidental commits of this file.
2025-11-19 10:26:53 +09:00
9c9f865026 Add Korea business area code JSON data
Introduces a new data file containing business area codes for various regions in Korea. This will be used for region-based business logic or lookups.
2025-11-19 10:19:57 +09:00
0e40d890bf Merge branch 'dev' of https://github.com/gnh1201/welsonjs into dev 2025-11-19 09:52:37 +09:00
daea458f64
Update WelsonJS.Toolkit/WelsonJS.Launcher/Program.cs
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
2025-11-16 18:58:48 +09:00
c392b6a08a
Update WelsonJS.Toolkit/WelsonJS.Launcher/MainForm.cs
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
2025-11-15 20:39:11 +09:00
dependabot[bot]
bf3e6ebcf2
Bump js-yaml from 4.1.0 to 4.1.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 10:58:07 +00:00
a03ea7f3b3
Update WelsonJS.Toolkit/WelsonJS.Launcher/Program.cs
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-11-15 18:23:02 +09:00
c677c6907a Add CLI support for running script and zip files
Launcher now accepts a --file argument to run .js or .zip files directly from the command line. MainForm and Program.cs were refactored to support this, including new registry entries in setup.iss for file associations with WelsonJS Script extensions.
2025-11-15 18:08:47 +09:00
4fb7b95c0e Enable COM interop registration in project config
Added <RegisterForComInterop>True</RegisterForComInterop> to all build configurations in WelsonJS.Cryptography.vbproj to support COM interop registration for both Debug and Release builds.
2025-11-10 09:47:17 +09:00
Namhyeon, Go
ba7b3e3685 Revert "Merge pull request #340 from gnh1201/codex/create-winforms-for-websocket-management"
This reverts commit d71adb8001, reversing
changes made to 83b8e453f0.
2025-11-02 18:17:59 +09:00
d71adb8001
Merge pull request #340 from gnh1201/codex/create-winforms-for-websocket-management
Add WinForms interface for WebSocket management
2025-11-02 18:12:37 +09:00
Namhyeon, Go
cfcfaf3e1f Add WinForms interface for WebSocket management 2025-11-02 18:09:59 +09:00
Namhyeon, Go
e9cc898608 Revert "Merge pull request #339 from gnh1201/codex/abstract-connection-management-for-serial-port"
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Has been cancelled
This reverts commit a638a7a6e9, reversing
changes made to cab9013f18.
2025-11-02 17:59:10 +09:00
a638a7a6e9
Merge pull request #339 from gnh1201/codex/abstract-connection-management-for-serial-port
Abstract connection management and add serial port support
2025-11-02 17:36:39 +09:00
Namhyeon, Go
4489c31509 Guard serial reads with timeout-based termination and cap 2025-10-28 16:36:58 +09:00
Namhyeon, Go
9f4219e971 Make serial buffer resets optional and improve receive loop 2025-10-28 14:12:44 +09:00
Namhyeon, Go
3ce8d12628 Include timeouts in serial connection key 2025-10-28 14:12:37 +09:00
Namhyeon, Go
7795946f9f Serialize per-key operations 2025-10-28 14:12:31 +09:00
Namhyeon, Go
c7890aaadb Serialize connection creation per key 2025-10-28 14:12:25 +09:00
Namhyeon, Go
b8362e570c Add connection monitor for managed transports 2025-10-28 13:42:35 +09:00
Namhyeon, Go
6e759008dd Abstract connection management and add serial port support 2025-10-28 13:30:48 +09:00