-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
129 additions
and
44 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
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,7 +1,7 @@ | ||
{ | ||
"Major": 2, | ||
"Minor": 6, | ||
"Build": 337, | ||
"BumpTime": "2023-01-18T18:23:03.5889252Z", | ||
"Build": 339, | ||
"BumpTime": "2023-01-19T06:54:34.7813738Z", | ||
"Prerelease": false | ||
} |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Write-Host; | ||
Write-Host "*** Creating Linux Server Module..." -BackgroundColor Blue -ForegroundColor White; | ||
|
||
# Init script | ||
$projectDir = Split-Path $PSScriptRoot -Parent; | ||
$projectFile = (Get-ChildItem -path $projectDir -file -Filter "*.csproj").FullName; | ||
. "$projectDir/../Pub/Common.ps1"; | ||
|
||
#update project version | ||
UpdateProjectVersion $projectFile; | ||
|
||
# prepare module folders | ||
$moduleDir = "$packagesServerDir/linux-arm64"; | ||
$moduleDirLatest = "$packagesServerDirLatest/linux-arm64"; | ||
PrepareModuleFolder $moduleDir $moduleDirLatest; | ||
|
||
# Creating linux package | ||
$templateDir = "$PSScriptRoot/Linux"; | ||
$template_installScriptFile = "$templateDir/install.sh"; | ||
$template_launcherFile = "$templateDir/vhserver.sh"; | ||
$template_updaterFile = "$templateDir/updater.sh"; | ||
|
||
$publishDir = "$projectDir/bin/release/publish-linux"; | ||
$publish_infoDir = "$publishDir/$versionTag/publish_info"; | ||
$publish_updaterFile = "$publish_infoDir/vhupdate"; | ||
$publish_launcherFile = "$publish_infoDir/vhserver"; | ||
$publish_InfoFile = "$publish_infoDir/publish.json"; | ||
|
||
$module_InfoFile = "$moduleDir/VpnHoodServer-linux-arm64.json"; | ||
$module_InstallerFile = "$moduleDir/VpnHoodServer-linux-arm64.sh"; | ||
$module_PackageFile = "$moduleDir/VpnHoodServer-linux-arm64.tar.gz"; | ||
|
||
$lineEnding = "`n"; | ||
$runtime = "linux-arm64"; | ||
$launcher_exeFile = "$versionTag/VpnHoodServer"; | ||
|
||
. "$PSScriptRoot\publish_impl.ps1"; |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Write-Host; | ||
Write-Host "*** Creating Linux Server Module..." -BackgroundColor Blue -ForegroundColor White; | ||
|
||
# Init script | ||
$projectDir = Split-Path $PSScriptRoot -Parent; | ||
$projectFile = (Get-ChildItem -path $projectDir -file -Filter "*.csproj").FullName; | ||
. "$projectDir/../Pub/Common.ps1"; | ||
|
||
#update project version | ||
UpdateProjectVersion $projectFile; | ||
|
||
# prepare module folders | ||
$moduleDir = "$packagesServerDir/linux-x64"; | ||
$moduleDirLatest = "$packagesServerDirLatest/linux-x64"; | ||
PrepareModuleFolder $moduleDir $moduleDirLatest; | ||
|
||
# Creating linux package | ||
$templateDir = "$PSScriptRoot/Linux"; | ||
$template_installScriptFile = "$templateDir/install.sh"; | ||
$template_launcherFile = "$templateDir/vhserver.sh"; | ||
$template_updaterFile = "$templateDir/updater.sh"; | ||
|
||
$publishDir = "$projectDir/bin/release/publish-linux"; | ||
$publish_infoDir = "$publishDir/$versionTag/publish_info"; | ||
$publish_updaterFile = "$publish_infoDir/vhupdate"; | ||
$publish_launcherFile = "$publish_infoDir/vhserver"; | ||
$publish_InfoFile = "$publish_infoDir/publish.json"; | ||
|
||
$module_InfoFile = "$moduleDir/VpnHoodServer-linux-x64.json"; | ||
$module_InstallerFile = "$moduleDir/VpnHoodServer-linux-x64.sh"; | ||
$module_PackageFile = "$moduleDir/VpnHoodServer-linux-x64.tar.gz"; | ||
|
||
$lineEnding = "`n"; | ||
$runtime = "linux-x64"; | ||
$launcher_exeFile = "$versionTag/VpnHoodServer"; | ||
|
||
. "$PSScriptRoot\publish_impl.ps1"; |
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
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