Merge pull request #526 from Romanitho/DedicatedConfigurator

New organisation and creation of packages
pull/531/head
Romain 2023-12-12 23:40:02 +01:00 committed by GitHub
commit 35a57ffcbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
73 changed files with 647 additions and 623 deletions

View File

@ -68,7 +68,7 @@ jobs:
- name: Overwrite Version.txt file - name: Overwrite Version.txt file
uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2 uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2
with: with:
path: Winget-AutoUpdate/Version.txt path: Sources/WAU/Winget-AutoUpdate/Version.txt
write-mode: overwrite write-mode: overwrite
contents: ${{ steps.versioning.outputs.version }} contents: ${{ steps.versioning.outputs.version }}
@ -82,23 +82,35 @@ jobs:
- name: Build project - name: Build project
run: | run: |
# Get MDT from Microsoft echo "### Get MDT from Microsoft ###"
wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi
# Extract MSI
echo "### Extract MSI ###"
7z x MicrosoftDeploymentToolkit_x64.msi 7z x MicrosoftDeploymentToolkit_x64.msi
# Copy ServiceUI.exe to Winget-AutoUpdate folder
mv Modena_File206 Winget-AutoUpdate/ServiceUI.exe echo "### Copy ServiceUI.exe to 'Sources/WAU/Winget-AutoUpdate' folder ###"
# Zip WAU mv Modena_File206 Sources/WAU/Winget-AutoUpdate/ServiceUI.exe -v
zip -r WAU.zip Winget-AutoUpdate
zip WAU.zip Winget-AutoUpdate-Install.ps1 echo "### Go to Sources ###"
zip WAU.zip excluded_apps.txt cd Sources
zip WAU.zip Gui.ps1
zip WAU.zip "WAU Configurator.lnk" echo "### Zip WAU ###"
# Zip ADMX cd WAU
cd Policies zip -r ../../WAU.zip Winget-AutoUpdate
zip -r ../WAU_ADMX.zip * zip ../../WAU.zip Winget-AutoUpdate-Install.ps1
zip ../../WAU.zip excluded_apps.txt
cd .. cd ..
# Add install counter
echo "### Zip WAU-Configurator ###"
zip -r ../WAU-Configurator.zip WAU
zip ../WAU-Configurator.zip "WAU Configurator.lnk"
echo "### Zip ADMX ###"
cd Policies
zip -r ../../WAU_ADMX.zip *
cd ../..
echo "### Create install counter file ###"
echo "Install counter file." > WAU_InstallCounter echo "Install counter file." > WAU_InstallCounter
- name: Create release - name: Create release

View File

@ -41,7 +41,7 @@ jobs:
- name: Overwrite Version.txt file - name: Overwrite Version.txt file
uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2 uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2
with: with:
path: Winget-AutoUpdate/Version.txt path: Sources/WAU/Winget-AutoUpdate/Version.txt
write-mode: overwrite write-mode: overwrite
contents: "${{ steps.versioning.outputs.version }}" contents: "${{ steps.versioning.outputs.version }}"
@ -55,23 +55,35 @@ jobs:
- name: Build project - name: Build project
run: | run: |
# Get MDT from Microsoft echo "### Get MDT from Microsoft ###"
wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi
# Extract MSI
echo "### Extract MSI ###"
7z x MicrosoftDeploymentToolkit_x64.msi 7z x MicrosoftDeploymentToolkit_x64.msi
# Copy ServiceUI.exe to Winget-AutoUpdate folder
mv Modena_File206 Winget-AutoUpdate/ServiceUI.exe echo "### Copy ServiceUI.exe to 'Sources/WAU/Winget-AutoUpdate' folder ###"
# Zip WAU mv Modena_File206 Sources/WAU/Winget-AutoUpdate/ServiceUI.exe -v
zip -r WAU.zip Winget-AutoUpdate
zip WAU.zip Winget-AutoUpdate-Install.ps1 echo "### Go to Sources ###"
zip WAU.zip excluded_apps.txt cd Sources
zip WAU.zip Gui.ps1
zip WAU.zip "WAU Configurator.lnk" echo "### Zip WAU ###"
# Zip ADMX cd WAU
cd Policies zip -r ../../WAU.zip Winget-AutoUpdate
zip -r ../WAU_ADMX.zip * zip ../../WAU.zip Winget-AutoUpdate-Install.ps1
zip ../../WAU.zip excluded_apps.txt
cd .. cd ..
# Add install counter
echo "### Zip WAU-Configurator ###"
zip -r ../WAU-Configurator.zip WAU
zip ../WAU-Configurator.zip "WAU Configurator.lnk"
echo "### Zip ADMX ###"
cd Policies
zip -r ../../WAU_ADMX.zip *
cd ../..
echo "### Create install counter file ###"
echo "Install counter file." > WAU_InstallCounter echo "Install counter file." > WAU_InstallCounter
- name: Create release - name: Create release

View File

@ -21,7 +21,7 @@ jobs:
- name: Perform a Pester test for the WAU installation - name: Perform a Pester test for the WAU installation
shell: powershell shell: powershell
run: | run: |
$command = New-PesterContainer -Path Winget-AutoUpdate-Install.ps1 -Data @{ Silent = $true } $command = New-PesterContainer -Path Sources/WAU/Winget-AutoUpdate-Install.ps1 -Data @{ Silent = $true }
Invoke-Pester -PassThru -Container $command -ErrorAction Continue Invoke-Pester -PassThru -Container $command -ErrorAction Continue
- name: Perform a Pester test for WAU run - name: Perform a Pester test for WAU run
shell: powershell shell: powershell

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,62 +1,62 @@
<local> <local>
<outputs> <outputs>
<output id="0"> <output id="0">
<!--Check network connection--> <!--Check network connection-->
<title>Zkontrolujte připojení k internetu.</title> <title>Zkontrolujte připojení k internetu.</title>
<!--Unable to check for software updates at this time!--> <!--Unable to check for software updates at this time!-->
<message>Není možné nyní zkontrolovat aktualizace aplikací!</message> <message>Není možné nyní zkontrolovat aktualizace aplikací!</message>
</output> </output>
<output id="1"> <output id="1">
<!--No internet connection--> <!--No internet connection-->
<title>Připojení k internetu není dostupné.</title> <title>Připojení k internetu není dostupné.</title>
<!--Updates could not be verified--> <!--Updates could not be verified-->
<message>Není možné zkontrolovat aktualizace.</message> <message>Není možné zkontrolovat aktualizace.</message>
</output> </output>
<output id="2"> <output id="2">
<!--{App} will be updated--> <!--{App} will be updated-->
<title>Aplikace {0} bude aktualizována!</title> <title>Aplikace {0} bude aktualizována!</title>
<!--{v1.0} to {v2.0}--> <!--{v1.0} to {v2.0}-->
<message>{0} na {1}</message> <message>{0} na {1}</message>
</output> </output>
<output id="3"> <output id="3">
<!--{App} updated--> <!--{App} updated-->
<title>Aplikace {0} byla úspěšně aktualizována.</title> <title>Aplikace {0} byla úspěšně aktualizována.</title>
<!--Installed version: {v1.0}--> <!--Installed version: {v1.0}-->
<message>Nainstalovaná verze: {0}</message> <message>Nainstalovaná verze: {0}</message>
</output> </output>
<output id="4"> <output id="4">
<!--{App} could not be updated--> <!--{App} could not be updated-->
<title>Aplikace {0} nemůže být aktualizována!</title> <title>Aplikace {0} nemůže být aktualizována!</title>
<!--Please contact support--> <!--Please contact support-->
<message>Kontaktujte prosím podporu.</message> <message>Kontaktujte prosím podporu.</message>
</output> </output>
<output id="5"> <output id="5">
<!--Logs are not available yet--> <!--Logs are not available yet-->
<message>Logy ještě nejsou dostupné!</message> <message>Logy ještě nejsou dostupné!</message>
</output> </output>
<output id="6"> <output id="6">
<!--Starting a manual check for updated apps--> <!--Starting a manual check for updated apps-->
<message>Spouštění manuální kontroly aktualizací...</message> <message>Spouštění manuální kontroly aktualizací...</message>
</output> </output>
<output id="7"> <output id="7">
<!--Couldn't start a manual check for updated apps--> <!--Couldn't start a manual check for updated apps-->
<message>Nelze spustit manuální kontrolu aktualizací!</message> <message>Nelze spustit manuální kontrolu aktualizací!</message>
</output> </output>
<output id="8"> <output id="8">
<!--A check for updated apps already running--> <!--A check for updated apps already running-->
<message>Kontrola aktualizací už probíhá...</message> <message>Kontrola aktualizací už probíhá...</message>
</output> </output>
<output id="9"> <output id="9">
<!--Manual check for updated apps completed--> <!--Manual check for updated apps completed-->
<message>Manuální kontrola aktualizací je dokončena.</message> <message>Manuální kontrola aktualizací je dokončena.</message>
</output> </output>
<output id="10"> <output id="10">
<!--See changelog--> <!--See changelog-->
<message>Podívat se na změny ve WAU</message> <message>Podívat se na změny ve WAU</message>
</output> </output>
<output id="11"> <output id="11">
<!--Open log file--> <!--Open log file-->
<message>Otevřít soubor s logy</message> <message>Otevřít soubor s logy</message>
</output> </output>
</outputs> </outputs>
</local> </local>

View File

@ -1,12 +1,12 @@
Google.Chrome Google.Chrome
Microsoft.Edge Microsoft.Edge
Microsoft.EdgeWebView2Runtime Microsoft.EdgeWebView2Runtime
Microsoft.Office Microsoft.Office
Microsoft.OneDrive Microsoft.OneDrive
Microsoft.Teams Microsoft.Teams
Microsoft.Teams.Classic Microsoft.Teams.Classic
Mozilla.Firefox Mozilla.Firefox
Mozilla.Firefox.DeveloperEdition Mozilla.Firefox.DeveloperEdition
Mozilla.Firefox.ESR Mozilla.Firefox.ESR
TeamViewer.TeamViewer TeamViewer.TeamViewer
TeamViewer.TeamViewer.Host TeamViewer.TeamViewer.Host