-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 0.4.0-dev1 - Updated workflows - Updated logger - Implemented CurlWrapper. CurlWrapper is a CURL wrapper that allows you to download files from https sites. This is important for Windows XP, Server 2003, as these operating systems do not have their native full TLS 1.2 implementation. - Updated copyright and added some warnings (or TODOs) - Add custom event when pressed ctrl + c key - Updated readme.md This build was tested on Windows XP Professional x64 edition. Should also work on Windows Server 2003 x86/x64 and on Windows XP x86
- Loading branch information
Showing
15 changed files
with
400 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,108 @@ | ||
name: Build on push to development | ||
name: Build xp-apps and components | ||
|
||
on: | ||
push: | ||
branches: | ||
- development | ||
- https-issue | ||
|
||
jobs: | ||
build_debug: | ||
runs-on: windows-2019 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'https-issue' | ||
|
||
- name: setup-msbuild | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Restore dependencies | ||
run: nuget restore | ||
|
||
- name: Build Debug (any cpu) | ||
run: msbuild /t:Build /p:Configuration=Debug /p:Platform="Any CPU" | ||
|
||
- name: Publish Debug any cpu artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Debug | ||
path: | | ||
bin\Debug\DotNetZip.dll | ||
bin\Debug\Newtonsoft.Json.dll | ||
bin\Debug\xp-apps.exe | ||
bin\Debug\Updater.exe | ||
bin\Debug\NLog.dll | ||
- name: setup-msbuild | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Restore dependencies | ||
run: nuget restore | ||
|
||
- name: Build Debug (any cpu) | ||
run: msbuild /t:Build /p:Configuration=Debug /p:Platform="Any CPU" | ||
|
||
- name: Create output directory | ||
run: mkdir xp-apps\Debug | ||
|
||
- name: Install 7-Zip | ||
run: | | ||
choco install 7zip -y | ||
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 | ||
RefreshEnv | ||
- name: Download and unpack curl | ||
run: | | ||
Invoke-WebRequest -Uri "https://winampplugins.co.uk/curl/curl_7_46_0_openssl_nghttp2_x86.7z" -OutFile "curl.7z" | ||
7z x -o"curl_temp" curl.7z | ||
mkdir xp-apps\Debug\curl | ||
move curl_temp\curl.exe xp-apps\Debug\curl\ | ||
move curl_temp\ca-bundle.crt xp-apps\Debug\curl\ | ||
Remove-Item -Recurse -Force curl_temp | ||
- name: Copy Debug artifacts | ||
run: | | ||
xcopy bin\Debug\*.dll xp-apps\Debug /Y | ||
xcopy bin\Debug\xp-apps.exe xp-apps\Debug /Y | ||
xcopy Updater\bin\Debug\*.dll xp-apps\Debug /Y | ||
xcopy Updater\bin\Debug\Updater.exe xp-apps\Debug /Y | ||
- name: Publish Debug any cpu artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Debug | ||
path: xp-apps\Debug | ||
|
||
build_release: | ||
runs-on: windows-2019 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup-msbuild | ||
uses: microsoft/setup-msbuild@v2 | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'https-issue' | ||
|
||
- name: Restore dependencies | ||
run: nuget restore | ||
|
||
- name: Build Release (any cpu) | ||
run: msbuild /t:Build /p:Configuration=Release /p:Platform="Any CPU" | ||
|
||
- name: Publish Release any cpu artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Release | ||
path: | | ||
bin\Release\DotNetZip.dll | ||
bin\Release\Newtonsoft.Json.dll | ||
bin\Release\xp-apps.exe | ||
bin\Release\Updater.exe | ||
bin\Release\NLog.dll | ||
- name: setup-msbuild | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Restore dependencies | ||
run: nuget restore | ||
|
||
- name: Build Release (any cpu) | ||
run: msbuild /t:Build /p:Configuration=Release /p:Platform="Any CPU" | ||
|
||
- name: Create output directory | ||
run: mkdir xp-apps\Release | ||
|
||
- name: Install 7-Zip | ||
run: | | ||
choco install 7zip -y | ||
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 | ||
RefreshEnv | ||
- name: Download and unpack curl | ||
run: | | ||
Invoke-WebRequest -Uri "https://winampplugins.co.uk/curl/curl_7_46_0_openssl_nghttp2_x86.7z" -OutFile "curl.7z" | ||
7z x -o"curl_temp" curl.7z | ||
mkdir xp-apps\Release\curl | ||
move curl_temp\curl.exe xp-apps\Release\curl\ | ||
move curl_temp\ca-bundle.crt xp-apps\Release\curl\ | ||
Remove-Item -Recurse -Force curl_temp | ||
- name: Copy Release artifacts | ||
run: | | ||
xcopy bin\Release\*.dll xp-apps\Release /Y | ||
xcopy bin\Release\xp-apps.exe xp-apps\Release /Y | ||
xcopy Updater\bin\Release\*.dll xp-apps\Release /Y | ||
xcopy Updater\bin\Release\Updater.exe xp-apps\Release /Y | ||
- name: Publish Release any cpu artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Release | ||
path: xp-apps\Release |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,30 @@ | ||
## xp-apps | ||
|
||
> [!IMPORTANT] | ||
> This is the development build of xp-apps. | ||
> This is the development build of xp-apps. | ||
> If you want to download the development build, go to the [actions](https://github.com/nixxoq/xp-apps/actions) | ||
> | ||
> Otherwise, go to [main](https://github.com/nixxoq/xp-apps/tree/main) branch to view the old README and other files | ||
<!-- A repository with applications that work with One-Core-API --> | ||
### Package manager for Windows XP with modern applications that work with One-Core-API | ||
### A Package manager for Windows XP | ||
|
||
### TODO: | ||
|
||
- [ ] Implement Updater | ||
### xp-apps | ||
|
||
- [ ] Finalize update process | ||
- [ ] Implement custom-user repositories | ||
- [ ] Base | ||
- [ ] Option to disable or enable custom repositories | ||
- [ ] Update repositories (update command) | ||
- [x] [Partially] If any download link uses the https protocol, the program should use CurlWrapper instead of | ||
WebClient() | ||
- [ ] Commands: | ||
- [ ] Finalize self-update command | ||
- [ ] Automatic installation - Automatic Installation (idk, maybe there will be an additional parameter in JSON | ||
file, where there will be a list of commands to be executed). | ||
- [ ] Update command (Update repositories) | ||
- [ ] clear-cache | ||
- [ ] download (download only package) | ||
|
||
### If you found a bug, please create new issue. Thank you! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.