mirror of
https://github.com/kethily-daniel/Kirin-Tool.git
synced 2026-12-02 13:59:57 +02:00
217 lines
9.9 KiB
XML
217 lines
9.9 KiB
XML
<!--
|
|
Kirin-Tool Read-Only Reference License
|
|
|
|
Licensor:
|
|
Kethily Daniel & NDX
|
|
|
|
Licensed Work:
|
|
All files and contents of the Kirin-Tool repository, including source code, documentation, assets, configuration files, build scripts, and associated materials.
|
|
|
|
Contact Information:
|
|
https://kirintool.cfd
|
|
|
|
|
|
Copyright (c) 2026 Kethily Daniel & NDX. All rights reserved.
|
|
|
|
This source code and all associated resources (collectively, the "Work") are
|
|
published strictly for human review and reference purposes.
|
|
|
|
1. READ-ONLY ACCESS
|
|
You are permitted only to view and read the Work as published in this
|
|
repository. No license is granted to download, clone, fork, mirror, cache,
|
|
or store the Work for any purpose beyond transient viewing, except where
|
|
strictly necessary for standard, incidental operation of the hosting
|
|
platform (e.g., your browser's normal rendering of the page).
|
|
|
|
2. PROHIBITED USES
|
|
You are strictly prohibited from:
|
|
- Copying, reproducing, or duplicating any part of the Work.
|
|
- Modifying, altering, or creating derivative works based on the Work.
|
|
- Distributing, publishing, sublicensing, or selling the Work or any
|
|
portion or derivative of it.
|
|
- Using the Work in any commercial or non-commercial product or project.
|
|
- Using any automated means (scripts, scrapers, crawlers, or bots) to
|
|
access, index, or extract the Work.
|
|
|
|
3. ARTIFICIAL INTELLIGENCE / MACHINE LEARNING RESTRICTION
|
|
You may not use the Work, in whole or in part, to train, fine-tune,
|
|
evaluate, prompt, augment (e.g., retrieval-augmented generation), or
|
|
otherwise develop any artificial intelligence or machine learning model,
|
|
including large language models ("LLMs"), whether by direct ingestion,
|
|
automated scraping, dataset inclusion, or any other method. This includes,
|
|
without limitation:
|
|
- Submitting the Work as input/context to an AI system or LLM.
|
|
- Including the Work in any training, fine-tuning, or evaluation corpus.
|
|
- Using the Work to generate embeddings, summaries, or derived training
|
|
signals of any kind.
|
|
|
|
TEXT AND DATA MINING RESERVATION: To the extent any applicable law
|
|
(including, without limitation, Article 4 of Directive (EU) 2019/790)
|
|
provides an exception or limitation permitting text and data mining absent
|
|
an express reservation, the rights holder hereby expressly reserves all
|
|
such rights and opts out of any such exception with respect to the Work.
|
|
|
|
4. NO IMPLIED LICENSE
|
|
Nothing in this license shall be construed as granting any license or
|
|
right, by implication, estoppel, or otherwise, to any intellectual
|
|
property rights in the Work beyond the limited viewing right expressly
|
|
stated in Section 1.
|
|
|
|
5. ENFORCEMENT
|
|
Any use of the Work in violation of this license immediately terminates
|
|
any permission granted herein and may subject the violator to legal
|
|
action for copyright infringement and any other applicable claims.
|
|
|
|
THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR
|
|
OR COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY
|
|
ARISING FROM THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
|
|
-->
|
|
|
|
<ui:ContentDialog x:Class="Kirin_Tool.UI.FastbootPartitionSelector"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
mc:Ignorable="d"
|
|
Title="Select Partitions"
|
|
DialogWidth="600"
|
|
DialogHeight="500"
|
|
PrimaryButtonText="Proceed"
|
|
SecondaryButtonText="Cancel"
|
|
CloseButtonText="Cancel"
|
|
IsPrimaryButtonEnabled="{Binding HasSelectedPartitions}"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Background="White">
|
|
|
|
<ui:ContentDialog.Resources>
|
|
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
|
</ui:ContentDialog.Resources>
|
|
|
|
<Border Background="White"
|
|
CornerRadius="8"
|
|
BorderBrush="LightGray"
|
|
BorderThickness="1"
|
|
Margin="0,30,0,30">
|
|
<Grid Margin="24">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Grid.Row="0" Margin="0,0,0,16">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackPanel Grid.Column="0"
|
|
Orientation="Horizontal"
|
|
VerticalAlignment="Center">
|
|
<CheckBox x:Name="SelectAllCheckBox"
|
|
IsChecked="{Binding SelectAllState, Mode=TwoWay}"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,8,0"
|
|
MinHeight="24"
|
|
MinWidth="24"/>
|
|
<TextBlock Text="Select All"
|
|
VerticalAlignment="Center"
|
|
FontWeight="SemiBold"
|
|
FontSize="14"/>
|
|
</StackPanel>
|
|
|
|
<TextBlock Grid.Column="1"
|
|
Text="{Binding StatusText}"
|
|
VerticalAlignment="Center"
|
|
FontSize="12"
|
|
Foreground="{StaticResource SecondaryTextBrush}"
|
|
HorizontalAlignment="Right"/>
|
|
</Grid>
|
|
|
|
<ScrollViewer Grid.Row="1"
|
|
VerticalScrollBarVisibility="Auto"
|
|
HorizontalScrollBarVisibility="Disabled"
|
|
Background="White"
|
|
BorderBrush="LightGray"
|
|
BorderThickness="1"
|
|
Padding="12"
|
|
MaxHeight="300"
|
|
Margin="0,0,0,12">
|
|
|
|
<ItemsControl ItemsSource="{Binding Partitions}">
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<Border Margin="0,2"
|
|
Padding="12,8"
|
|
Background="WhiteSmoke"
|
|
BorderBrush="LightGray"
|
|
BorderThickness="1"
|
|
CornerRadius="4">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<CheckBox Grid.Column="0"
|
|
IsChecked="{Binding IsSelected, Mode=TwoWay}"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,12,0"
|
|
MinHeight="20"
|
|
MinWidth="20"/>
|
|
|
|
<TextBlock Grid.Column="1"
|
|
Text="{Binding Name}"
|
|
VerticalAlignment="Center"
|
|
FontFamily="Consolas"
|
|
FontSize="13"/>
|
|
|
|
<TextBlock Grid.Column="2"
|
|
Text="{Binding ImageFileName}"
|
|
VerticalAlignment="Center"
|
|
FontSize="11"
|
|
Foreground="Gray"
|
|
Margin="12,0,0,0"/>
|
|
</Grid>
|
|
</Border>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</ScrollViewer>
|
|
|
|
<CheckBox x:Name="SkipSecureCheckBox"
|
|
Grid.Row="2"
|
|
Content="Skip secure partitions"
|
|
IsChecked="{Binding SkipSecurePartitions, Mode=TwoWay}"
|
|
Margin="0,0,0,12"
|
|
VerticalAlignment="Center"
|
|
FontSize="13"/>
|
|
|
|
<StackPanel Grid.Row="3"
|
|
Orientation="Horizontal"
|
|
HorizontalAlignment="Right"
|
|
Margin="0,0,0,0">
|
|
|
|
<ui:Button x:Name="CancelButton"
|
|
Content="Cancel"
|
|
Margin="0,0,10,0"
|
|
MinWidth="100"
|
|
Click="CancelButton_Click"/>
|
|
|
|
<ui:Button x:Name="ProceedButton"
|
|
Content="Proceed"
|
|
IsEnabled="{Binding HasSelectedPartitions}"
|
|
MinWidth="100"
|
|
Appearance="Primary"
|
|
Click="ProceedButton_Click"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
</ui:ContentDialog>
|