This commit is contained in:
Toastie (DCS Team) 2024-08-09 00:47:33 +12:00
commit 9e00d65418
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
7 changed files with 14 additions and 58 deletions

5
.gitignore vendored
View file

@ -480,4 +480,7 @@ $RECYCLE.BIN/
# Built files # Built files
build/* build/*
zips/* zips/*
# Scripts
release.ps1

View file

@ -5,6 +5,11 @@ VisualStudioVersion = 17.6.33829.357
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EllieHub", "EllieHub\EllieHub.csproj", "{6E399AD5-2130-4F97-A08F-397EFCE5872A}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EllieHub", "EllieHub\EllieHub.csproj", "{6E399AD5-2130-4F97-A08F-397EFCE5872A}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2A553F1B-5A2C-43D6-A145-F219530326D3}"
ProjectSection(SolutionItems) = preProject
release.ps1 = release.ps1
EndProjectSection
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU

View file

@ -21,14 +21,14 @@
<SolidColorBrush x:Key='LightBackground'>#FAF5F8</SolidColorBrush> <SolidColorBrush x:Key='LightBackground'>#FAF5F8</SolidColorBrush>
<SolidColorBrush x:Key='MediumBackground'>#FCFAFC</SolidColorBrush> <SolidColorBrush x:Key='MediumBackground'>#FCFAFC</SolidColorBrush>
<SolidColorBrush x:Key='HeavyBackground'>#FFFAFD</SolidColorBrush> <SolidColorBrush x:Key='HeavyBackground'>#FFFAFD</SolidColorBrush>
<SolidColorBrush x:Key='BotSelectionColor'>#FF0067</SolidColorBrush> <SolidColorBrush x:Key='BotSelectionColor'>#3498DB</SolidColorBrush>
<SolidColorBrush x:Key='HyperlinkColor'>Blue</SolidColorBrush> <SolidColorBrush x:Key='HyperlinkColor'>Blue</SolidColorBrush>
</ResourceDictionary> </ResourceDictionary>
<ResourceDictionary x:Key='Dark'> <ResourceDictionary x:Key='Dark'>
<SolidColorBrush x:Key='LightBackground'>#252525</SolidColorBrush> <SolidColorBrush x:Key='LightBackground'>#252525</SolidColorBrush>
<SolidColorBrush x:Key='MediumBackground'>#202020</SolidColorBrush> <SolidColorBrush x:Key='MediumBackground'>#202020</SolidColorBrush>
<SolidColorBrush x:Key='HeavyBackground'>#181818</SolidColorBrush> <SolidColorBrush x:Key='HeavyBackground'>#181818</SolidColorBrush>
<SolidColorBrush x:Key='BotSelectionColor'>#D90058</SolidColorBrush> <SolidColorBrush x:Key='BotSelectionColor'>#206694</SolidColorBrush>
<SolidColorBrush x:Key='HyperlinkColor'>#5090BB</SolidColorBrush> <SolidColorBrush x:Key='HyperlinkColor'>#5090BB</SolidColorBrush>
</ResourceDictionary> </ResourceDictionary>
</ResourceDictionary.ThemeDictionaries> </ResourceDictionary.ThemeDictionaries>

View file

@ -20,7 +20,7 @@
<DebugType>embedded</DebugType> <DebugType>embedded</DebugType>
<!--Version--> <!--Version-->
<VersionPrefix>1.0.3.1</VersionPrefix> <VersionPrefix>1.0.3.2</VersionPrefix>
<!--Avalonia Settings--> <!--Avalonia Settings-->
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>

View file

@ -23,7 +23,7 @@
Margin="0 0 0 10"/> Margin="0 0 0 10"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button CommandParameter="https://www.paypal.com/paypalme/toastiet0ast" <Button CommandParameter="https://paypal.me/toastiet0ast"
Command="{Binding OpenUrl}"> Command="{Binding OpenUrl}">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<TextBlock Text="Paypal " /> <TextBlock Text="Paypal " />

View file

@ -78,7 +78,7 @@
Classes="transparent" Classes="transparent"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
VerticalAlignment="Center" VerticalAlignment="Center"
CommandParameter="https://beta.elliebot.net/" CommandParameter="https://app.feedbacky.net/b/ellie-feedback"
Command="{Binding OpenUrl}"> Command="{Binding OpenUrl}">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Image Classes="icon" <Image Classes="icon"

View file

@ -1,52 +0,0 @@
echo ""
echo "███████╗██╗ ██╗ ██╗███████╗██╗ ██╗██╗ ██╗██████╗ "
echo "██╔════╝██║ ██║ ██║██╔════╝██║ ██║██║ ██║██╔══██╗"
echo "█████╗ ██║ ██║ ██║█████╗ ███████║██║ ██║██████╔╝"
echo "██╔══╝ ██║ ██║ ██║██╔══╝ ██╔══██║██║ ██║██╔══██╗"
echo "███████╗███████╗███████╗██║███████╗██║ ██║╚██████╔╝██████╔╝"
echo "╚══════╝╚══════╝╚══════╝╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ "
echo ""
echo "Copyright © 2024 Toastie_t0ast & EllieBotDevs"
echo ""
echo ""
echo "Building EllieHub"
echo ""
dotnet build -c Release
echo ""
echo "Testing EllieHub"
echo ""
dotnet test
echo ""
echo "Publishing EllieHub"
echo ""
cd .\EllieHub\
dotnet publish -c Release -r win-x64 -o ../build/EllieHub_win-x64 --self-contained
dotnet publish -c Release -r win-arm64 -o ../build/EllieHub_win-arm64 --self-contained
dotnet publish -c Release -r linux-x64 -o ../build/EllieHub_linux-x64 --self-contained
dotnet publish -c Release -r linux-arm64 -o ../build/EllieHub_linux-arm64 --self-contained
dotnet publish -c Release -r osx-x64 -o ../build/EllieHub_osx-x64 --self-contained
dotnet publish -c Release -r osx-arm64 -o ../build/EllieHub_osx-arm64 --self-contained
cd ..\
echo ""
echo "Packaging EllieHub"
echo ""
New-Item -ItemType Directory -Path zips\
Compress-Archive -Path "build\EllieHub_win-x64" -DestinationPath "zips\EllieHub_win-x64.zip"
Compress-Archive -Path "build\EllieHub_win-arm64" -DestinationPath "zips\EllieHub_win-arm64.zip"
Compress-Archive -Path "build\EllieHub_linux-x64" -DestinationPath "zips\EllieHub_linux-x64.zip"
Compress-Archive -Path "build\EllieHub_linux-arm64" -DestinationPath "zips\EllieHub_linux-arm64.zip"
Compress-Archive -Path "build\EllieHub_osx-x64" -DestinationPath "zips\EllieHub_osx-x64.zip"
Compress-Archive -Path "build\EllieHub_osx-arm64" -DestinationPath "zips\EllieHub_osx-arm64.zip"
echo ""
echo ""
echo "Finished building and packaging EllieHub"
echo "For completed zip builds check the zips folder"