Compare commits
No commits in common. "master" and "v1.2" have entirely different histories.
9 changed files with 11 additions and 75 deletions
|
@ -42,20 +42,7 @@ jobs:
|
|||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_linux_x64
|
||||
|
||||
- name: Build the project (Linux arm64)
|
||||
run: |
|
||||
dotnet publish ./Cryptura/Cryptura.csproj \
|
||||
-c Release \
|
||||
-r linux-arm64 \
|
||||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_linux_arm64
|
||||
|
||||
|
||||
|
||||
-o ./output_linux
|
||||
- name: Build the project (Windows x64)
|
||||
run: |
|
||||
dotnet publish ./Cryptura/Cryptura.csproj \
|
||||
|
@ -64,49 +51,15 @@ jobs:
|
|||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_win_x64
|
||||
|
||||
- name: Build the project (Windows arm64)
|
||||
run: |
|
||||
dotnet publish ./Cryptura/Cryptura.csproj \
|
||||
-c Release \
|
||||
-r win-arm64 \
|
||||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_win_arm64
|
||||
|
||||
|
||||
- name: Download appimagetool
|
||||
run: |
|
||||
curl -L -o appimagetool-x86_64.AppImage https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
|
||||
chmod +x appimagetool-x86_64.AppImage
|
||||
|
||||
- name: Build AppImage
|
||||
run: |
|
||||
mkdir -p Cryptura.AppDir/usr/bin
|
||||
cp -r ./output_linux_x64/* Cryptura.AppDir/usr/bin/
|
||||
|
||||
cp Cryptura/Assets/AppRun Cryptura.AppDir/
|
||||
cp Cryptura/Assets/cryptura.desktop Cryptura.AppDir/
|
||||
cp Cryptura/Assets/cryptura.png Cryptura.AppDir/
|
||||
|
||||
chmod +x Cryptura.AppDir/AppRun
|
||||
|
||||
./appimagetool-x86_64.AppImage Cryptura.AppDir
|
||||
|
||||
mkdir -p release
|
||||
mv Cryptura-x86_64.AppImage release/Cryptura_Linux_x64.AppImage
|
||||
-o ./output_win
|
||||
|
||||
|
||||
- name: Pack Releases into Zips
|
||||
run: |
|
||||
mkdir -p ./release
|
||||
zip -r ./release/Cryptura_Linux_x64.zip ./output_linux_x64
|
||||
zip -r ./release/Cryptura_Linux_arm64.zip ./output_linux_arm64
|
||||
zip -r ./release/Cryptura_Windows_x64.zip ./output_win_x64
|
||||
zip -r ./release/Cryptura_Windows_arm64.zip ./output_win_arm64
|
||||
rm -rf ./output_linux_x64 ./output_linux_arm64 ./output_win_x64 ./output_win_arm64
|
||||
zip -r ./release/Cryptura_Linux_x64.zip ./output_linux
|
||||
zip -r ./release/Cryptura_Windows_x64.zip ./output_win
|
||||
rm -rf ./output_linux ./output_win
|
||||
|
||||
|
||||
- name: Create Git tag
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
HERE="$(dirname "$(readlink -f "$0")")"
|
||||
exec "$HERE/usr/bin/Cryptura" "$@"
|
|
@ -1,6 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Cryptura
|
||||
Exec=Cryptura
|
||||
Icon=cryptura
|
||||
Categories=Utility;
|
Binary file not shown.
Before Width: | Height: | Size: 282 KiB |
|
@ -4,11 +4,10 @@
|
|||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||
<AssemblyVersion>1.0</AssemblyVersion>
|
||||
<FileVersion>2.0</FileVersion>
|
||||
<FileVersion>1.2</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
</ExperimentalAcrylicBorder>
|
||||
|
||||
<Grid>
|
||||
<Border Width="1" Background="#80000000" Margin="5,20" HorizontalAlignment="Center" ZIndex="1" Name="MiddleSeperator" IsVisible="False"/>
|
||||
<Border Width="1" Background="#80000000" Margin="5,10" HorizontalAlignment="Center" ZIndex="1"/>
|
||||
<Border Background="#80000000" CornerRadius="10" Margin="10" Name="ContentBorder">
|
||||
<ListBox Name="PasswordList" Background="Transparent" SelectionChanged="PasswordList_OnSelectionChanged"
|
||||
Margin="10">
|
||||
|
@ -46,16 +46,12 @@
|
|||
Foreground="White"
|
||||
Text="{Binding Name}"
|
||||
VerticalAlignment="Center"
|
||||
TextTrimming="CharacterEllipsis"
|
||||
TextWrapping="NoWrap"
|
||||
Margin="20,0"/>
|
||||
<TextBlock
|
||||
Grid.Column="1"
|
||||
Foreground="White"
|
||||
Text="{Binding DisplayValue}"
|
||||
VerticalAlignment="Center"
|
||||
TextTrimming="CharacterEllipsis"
|
||||
TextWrapping="NoWrap"
|
||||
Margin="20,0"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
@ -82,8 +78,7 @@
|
|||
</ListBox>
|
||||
</Border>
|
||||
<Border Background="#80000000" Name="AddPasswordContainer" IsVisible="False" PointerPressed="OuterBorder_OnPointerPressed" ZIndex="11">
|
||||
<Border Background="#80000000" CornerRadius="10" PointerPressed="InnerBorder_OnPointerPressed"
|
||||
Name="AddPasswordBorder"
|
||||
<Border Background="#2b2f36" CornerRadius="10" PointerPressed="InnerBorder_OnPointerPressed"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Height="300"
|
||||
|
|
|
@ -20,15 +20,13 @@ public partial class MainWindow : Window
|
|||
this.TransparencyLevelHint = new[] { WindowTransparencyLevel.None };
|
||||
this.Background = new SolidColorBrush(Color.Parse(ColorScheme.Surface.Color_1));
|
||||
this.ContentBorder.Background = new SolidColorBrush(Color.Parse(ColorScheme.Surface.Color_2));
|
||||
this.AddPasswordBorder.Background = new SolidColorBrush(Color.Parse(ColorScheme.Surface.Color_2));
|
||||
this.MiddleSeperator.IsVisible = true;
|
||||
this.AcrylicBorderObject.IsVisible = false;
|
||||
AcrylicBorderObject.IsVisible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.TransparencyLevelHint = new[] { WindowTransparencyLevel.AcrylicBlur };
|
||||
this.Background = Brushes.Transparent;
|
||||
this.AcrylicBorderObject.IsVisible = true;
|
||||
AcrylicBorderObject.IsVisible = true;
|
||||
}
|
||||
}
|
||||
public MainWindow(string masterPassword)
|
||||
|
|
|
@ -9,7 +9,7 @@ public class Password
|
|||
{
|
||||
public string Name { get; set; }
|
||||
public string Value { get; set; }
|
||||
public string CensoredValue { get; set; } = "**********";
|
||||
public string CensoredValue { get; set; } = "******";
|
||||
public WXFile WxFile { get; set; }
|
||||
|
||||
public string DisplayValue
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 122 KiB |
Loading…
Add table
Reference in a new issue