Compare commits
181 Commits
Author | SHA1 | Date | |
---|---|---|---|
2926a82ee4 | |||
1e5321834d | |||
1198e96128 | |||
6c40b26684 | |||
31fbdc6574 | |||
1b68ec3622 | |||
3dc2c3ab42 | |||
85564bf8ac | |||
37ef14e975 | |||
fb9385fccd | |||
b69dca63e3 | |||
f5ef22b64d | |||
b704ee0093 | |||
4c93f0e389 | |||
30acad7516 | |||
1f6e68ca3f | |||
9bf8ff8c50 | |||
0c3151948c | |||
a20e96c63f | |||
59588c90d5 | |||
5a66c86b54 | |||
e603dc3fce | |||
fec28e76e8 | |||
|
a54c8970ee | ||
8e40670f55 | |||
b693c27adf | |||
1be6e62d55 | |||
7b6df76276 | |||
e69deb4b95 | |||
286a8bc2cf | |||
934062aa3b | |||
ce9aa95eac | |||
8f708aa8b2 | |||
ca71fe2787 | |||
f09abddda0 | |||
9bf218cfee | |||
2d53e655f7 | |||
2a88c99607 | |||
38a3b4ee4f | |||
7cad4937c1 | |||
5a84a4d3de | |||
4acd2332bf | |||
6bb3e8dfbf | |||
63910b6491 | |||
ea78b37d86 | |||
d5ad1d0204 | |||
6f89f8b694 | |||
27e41f35f0 | |||
c36492cd0b | |||
cc087030fd | |||
6d5e526834 | |||
c1923ad6af | |||
f300dd1f4d | |||
35d1e8b198 | |||
68d7f42751 | |||
9fdf0051a1 | |||
875e8770a3 | |||
f37d73708b | |||
1e8fcf9bb0 | |||
b261d6433a | |||
196ae84eb5 | |||
b68029f5db | |||
b5e0b709cc | |||
8e617ceda4 | |||
0607df0967 | |||
f925ac7242 | |||
a9d9f035de | |||
8177556e5d | |||
03c53c3977 | |||
567a24a6ec | |||
7fb697f56e | |||
5211bbb951 | |||
525a90f441 | |||
e539fb5912 | |||
703713a706 | |||
b6de24e098 | |||
88a157dd45 | |||
34b8670a40 | |||
d5b2d4ddf4 | |||
01bb90879b | |||
1c64278723 | |||
17c90c5d07 | |||
539607553d | |||
85daec6428 | |||
e38d23dba0 | |||
7da6689e6d | |||
73a3733bc1 | |||
9593ebb813 | |||
fd1f13f59d | |||
50c916a8cc | |||
f7baf015c0 | |||
90b21d40cf | |||
c5b5b6d3ba | |||
ef4b21fb8c | |||
72e3d54f8d | |||
50fd18fbe4 | |||
e98def4839 | |||
da65d3b90e | |||
e416ffdbff | |||
33c892b39d | |||
f071fcb00d | |||
a2aadf44e3 | |||
c0e670f6c1 | |||
59f506c8e6 | |||
ca6e47e9a3 | |||
0ca73a2a28 | |||
9493f0738a | |||
688ed679b5 | |||
233b5e8c76 | |||
4fc8ef3f48 | |||
cd4f104e1a | |||
9b92894e4f | |||
05a5b89464 | |||
d5af9c2cf1 | |||
fb6446292c | |||
616453ed7d | |||
3ef8f4da7f | |||
a743002b12 | |||
7ab203c86a | |||
5bc65827b2 | |||
8b408d42d3 | |||
ef2a0027c1 | |||
9ae6e00d71 | |||
c0b2edf1b0 | |||
2cb69c72f3 | |||
705478fdf0 | |||
75ac14a8b8 | |||
a779a3532b | |||
50adf55762 | |||
f08366a3d5 | |||
8cb92d9972 | |||
9e15e701c2 | |||
3ba3364fb9 | |||
064b068135 | |||
051b04bf0b | |||
f72ab76e2c | |||
6640dc9bba | |||
4e1b04bf6e | |||
3c2a6ac635 | |||
0d12df77cc | |||
86b57ecdc1 | |||
4a846b825c | |||
ea6e7a19bd | |||
930111f2df | |||
b708b63113 | |||
42b25b33dc | |||
d454a58671 | |||
34d2ef715e | |||
8ff21d81c4 | |||
0d1f23e017 | |||
89b366d35f | |||
74cc0fbce9 | |||
93dfdbc57c | |||
24f3be1373 | |||
f7fcf5ef11 | |||
b35ac593cb | |||
a9c137110c | |||
48257722fb | |||
623db2ea76 | |||
059ac5b270 | |||
c54785224c | |||
aa0bcff076 | |||
e62451ff89 | |||
6d67571545 | |||
8e9528dfa8 | |||
e331f8d580 | |||
3dde50ce27 | |||
7a1eeb8d4d | |||
bbc4d27d7a | |||
fdd5fcaef1 | |||
782066cf57 | |||
ddf1f7396b | |||
17b5c9afce | |||
65172300be | |||
b8846eb9b6 | |||
e602dd8823 | |||
b0c688a6c8 | |||
dc28c2e9d1 | |||
b4935edf0a | |||
4f294cee8f | |||
45c52d7755 |
2
.gitignore
vendored
@ -53,4 +53,4 @@ debian/*.substvars
|
||||
debian/spark-store
|
||||
|
||||
.vscode/*
|
||||
src/spark-store
|
||||
obj-*
|
||||
|
92
FAQ.md
@ -1,91 +1,91 @@
|
||||
# FAQ
|
||||
## Spark App Store FAQ and Support Guide
|
||||
## Spark Store FAQ and Support Guide
|
||||
|
||||
### Introduction
|
||||
The Spark App Store is an application store aimed at Linux users and supports multiple Linux distributions. Below are some commonly asked questions and solutions. Please note that this document is primarily intended for ordinary users who are not familiar with Linux and the APT package management system.
|
||||
The Spark Store is an application store designed for Linux users, supporting various Linux distributions. Below are some frequently asked questions and their solutions. Please note that this document primarily targets ordinary users unfamiliar with Linux and the `apt` package management system.
|
||||
|
||||
---
|
||||
|
||||
### Communication and Feedback
|
||||
**Q: Where can I join the community group?**
|
||||
**A:** You can click [here](https://bbs.spark-app.store/) to enter the main communication platform of the Spark Store.
|
||||
> ⚠️ If the above link doesn't work, you can also join our QQ groups as an alternative. The group numbers are 872690351 and 865927727. We also offer forums for communication.
|
||||
**Q: How can I participate in discussions?**
|
||||
**A:** You can click [this link](https://bbs.spark-app.store/) to enter the Spark Forum for communication.
|
||||
> 📣 You can also join our QQ Discussion Groups: 872690351 and 865927727.
|
||||
|
||||
#### Differences Between arm64 and amd64
|
||||
---
|
||||
|
||||
arm64
|
||||
### Difference Between arm64 and amd64
|
||||
|
||||
* Full Name: Advanced RISC Machine 64-bit
|
||||
* Main Use: Primarily used in mobile devices, embedded systems, and some new servers and desktop computers.
|
||||
* Advantages: Low power consumption, high efficiency, suitable for battery-driven and heat-sensitive devices.
|
||||
* Main Manufacturers: Apple, Qualcomm, HiSilicon, Phytium, etc.
|
||||
#### arm64
|
||||
|
||||
amd64
|
||||
* Full Name: Advanced RISC Machine 64-bit
|
||||
* Primary Use: Mainly applied to mobile devices, embedded systems, and some new servers and desktop computers
|
||||
* Advantages: Low power consumption, high efficiency, suitable for battery-powered and heat-sensitive devices
|
||||
* Major Manufacturers: Apple, Qualcomm, HiSilicon, Phytium, etc.
|
||||
|
||||
* Full Name: AMD 64-bit, also known as x86_64
|
||||
* Main Use: Primarily used in desktop computers, laptops, and servers.
|
||||
* Advantages: High performance, suitable for computation-intensive applications.
|
||||
* Main Manufacturers: Intel and AMD.
|
||||
* The main differences between the two are in the instruction sets and application scenarios. amd64 is usually used for high-performance computers and servers, while arm64 is more commonly used in power-sensitive settings.
|
||||
#### amd64
|
||||
|
||||
* Full Name: AMD 64-bit, also known as x86_64
|
||||
* Primary Use: Mainly applied to desktop computers, laptops, and servers
|
||||
* Advantages: High performance, suitable for compute-intensive applications
|
||||
* Major Manufacturers: Intel and AMD
|
||||
|
||||
The main difference between the two lies in their instruction sets and application scenarios. amd64 is typically used for high-performance computers and servers, while arm64 is more commonly used in environments with strict power consumption requirements.
|
||||
|
||||
#### How to Check:
|
||||
|
||||
Linux:
|
||||
|
||||
- Open the terminal.
|
||||
- Type `uname -m` or `arch` and press Enter.
|
||||
- You will see your processor architecture (possibly x86_64, aarch64, etc.).
|
||||
- Open the Linux terminal
|
||||
- Enter the command `uname -m` or `arch` and press `Enter`
|
||||
- You will see your computer's processor architecture (e.g., x86_64, aarch64)
|
||||
|
||||
---
|
||||
|
||||
### Domestic Architecture Support
|
||||
**Q: I use a domestic chip architecture, how can I get applications?**
|
||||
**A:** Currently, Spark Store supports **arm** architecture for domestic chips. You can download deb packages suitable for arm64 architecture.
|
||||
> ⚠️ Please note that this is experimental support. If you encounter any issues, please provide feedback via Spark's communication platform, QQ group, or forums.
|
||||
**Q: My computer uses a domestic architecture. How can I obtain the Spark Store?**
|
||||
**A:** Currently, the Spark Store supports **ARM** architecture and **LoongArch New World** architecture. You can download deb packages (software installation packages) for arm64 and loong64 architectures.
|
||||
> ⚠️ Please note that this support is experimental. If you encounter issues, please report them to us via the Spark Forum or QQ Discussion Group.
|
||||
|
||||
---
|
||||
|
||||
### Dependency Issues
|
||||
**Q: I get errors when installing dependencies**
|
||||
**A:** If you are using UOS or deepin, please do not install the dependency packages. For Kali Linux/Kdeneon etc., temporary support is not available, please compile and install yourself.
|
||||
> 💡 If errors occur, try running `sudo apt update` before attempting the installation again. If the issue persists, refer to the first question and seek help on the community platform.
|
||||
### Dependency Installation Issues
|
||||
**Q: What if dependency package installation fails?**
|
||||
**A:** If you are using UOS or deepin, do not install dependencies. Only some Linux distributions require dependency packages. For unsupported distributions, you may need to compile manually. See the [Spark Store Introduction](https://gitee.com/spark-store-project/spark-store/blob/dev/README.md).
|
||||
> 💡 When errors occur, run `sudo apt update` first and try again. If the issue persists, refer to the above and seek help via communication platforms.
|
||||
|
||||
---
|
||||
|
||||
### Submission and App Updates
|
||||
**Q: Where can I submit applications?**
|
||||
**A:** You can find the "Submit Application" option in the upper-right corner menu of the app store interface.
|
||||
### Software Submission and Updates
|
||||
**Q: Where can I submit software?**
|
||||
**A:** You can find the "Submit Application" option in the top-right menu of the app store interface. We provide two submission methods: **Submission Tools** and **Online Platform**.
|
||||
|
||||
---
|
||||
|
||||
### Support for Non-deepin/UOS Users
|
||||
**Q: I'm not a deepin/UOS user; can I use the Spark App Store?**
|
||||
**A:** Yes, you can directly install if you're using Ubuntu 22.04. For Ubuntu 20.04/Debian10/Debian11, please install the dependencies first.
|
||||
**Q: Can I use Spark Store if I am not a deepin/UOS user?**
|
||||
**A:** It can be installed normally on Debian-based distributions. For example, if you use Ubuntu 22.04, install directly. For Ubuntu 20.04 / Debian 10 / Debian 11, install dependencies first. Additionally, experience may not be guaranteed if installed on non-Debian Linux distributions.
|
||||
|
||||
---
|
||||
|
||||
### Installation Methods
|
||||
**Q: Can I use dpkg -i for installation?**
|
||||
**A:** No! Use `sudo apt install ./xxxx.deb` to install, or use graphical installers like gdebi.
|
||||
> ⚠️ Using dpkg directly will not handle software dependencies, which is a common mistake.
|
||||
**Q: Can I install using `dpkg -i`?**
|
||||
**A:** We **strongly advise against this**. In the directory where the package is saved, use `sudo apt install ./spark-store*.deb` or a graphical installer like Gdebi.
|
||||
> ⚠️ Direct use of `dpkg` generally does not handle software dependencies, potentially causing installation failures or damaging the system's dependency environment.
|
||||
|
||||
---
|
||||
|
||||
### System Updates
|
||||
**Q: Will the Spark Store affect normal system updates?**
|
||||
**A:** No, the Spark Store has separated its application sources from system sources and will not affect regular system updates.
|
||||
**Q: Will Spark Store affect normal system updates?**
|
||||
**A:** No. The current version of Spark Store has decoupled its application sources from system sources and will not affect normal system updates.
|
||||
|
||||
---
|
||||
|
||||
### Reporting Issues and Removing Apps
|
||||
**Q: Some apps are outdated or inactive, and I want them removed**
|
||||
**A:** You can report issues [here](https://gitee.com/spark-store-project/software_-issue).
|
||||
### Reporting Issues and Application Removal
|
||||
**Q: Some applications are outdated or invalid. I want them removed.**
|
||||
**A:** You can [report issues here](https://gitee.com/spark-store-project/software_-issue).
|
||||
|
||||
---
|
||||
|
||||
### Installing Spark App Store
|
||||
If you wish to install the Spark App Store, please visit the [Release page](https://gitee.com/spark-store-project/spark-store/releases), find the latest version, and choose the package suitable for your current system.
|
||||
|
||||
> ⚠️ Special Note: If you are using Debian10/Debian11 or Ubuntu 20.04, you may need to download additional dependency packages. After downloading, unzip multiple times until you see the software user guide. For operating systems later than Ubuntu 22.04, you do not need to install dependency packages. Just follow the steps above to install the main program directly.
|
||||
### Installing Spark Store
|
||||
If you need to install Spark Store, visit the [Release Page](https://gitee.com/spark-store-project/spark-store/releases), find the latest version, and download the installer suitable for your system.
|
||||
|
||||
> ⚠️ Special Note: If you are using Debian 10 / Debian 11 or Ubuntu 20.04, you need to download the dependency supplementary package additionally. After downloading, extract multiple times until dependency instructions are visible, then follow steps to install dependencies. For Ubuntu 22.04 and later, no dependency package is required. Follow the above instructions to install the main program directly.
|
||||
---
|
83
FAQ.zh.md
@ -1,90 +1,91 @@
|
||||
# FAQ
|
||||
## 星火应用商店FAQ与支持指南
|
||||
## 星火应用商店 FAQ 与支持指南
|
||||
|
||||
### 简介
|
||||
星火应用商店是一个面向 Linux 用户的应用商店,支持多种不同的 Linux 发行版。以下是一些常见问题及解决方案。请注意,该文档主要面向对 Linux 和 APT 软件包管理系统不熟悉的普通用户。
|
||||
星火应用商店是一个面向 Linux 用户的应用商店,支持多种不同的 Linux 发行版。以下是一些常见问题及解决方案。请注意,该文档主要面向对 Linux 和 `apt` 软件包管理系统不熟悉的普通用户。
|
||||
|
||||
---
|
||||
|
||||
### 交流与反馈
|
||||
**Q: 在哪进交流群?**
|
||||
**A:** 你可以点击[这里](https://bbs.spark-app.store/)进入星火商店的主交流平台。
|
||||
> ⚠️ 如果上面的链接无法使用,你还可以加入我们的 QQ 群作为备选方案,群号是 872690351 和 865927727。我们还提供论坛作为交流平台。
|
||||
**Q: 如何参与交流讨论?**
|
||||
**A:** 您可以点击[此链接](https://bbs.spark-app.store/)进入星火社区论坛进行交流。
|
||||
> 📣 您还可以加入我们的 QQ 交流群,群号是 872690351 和 865927727。
|
||||
|
||||
arm64与amd64的区别
|
||||
---
|
||||
|
||||
arm64
|
||||
### arm64 与 amd64 的区别
|
||||
|
||||
* 全称: Advanced RISC Machine 64-bit
|
||||
* 主要用途: 主要应用于移动设备、嵌入式系统以及一些新型的服务器和桌面计算机。
|
||||
* 优势: 低功耗、高效率,适合用在电池驱动和热敏感的设备。
|
||||
#### arm64
|
||||
|
||||
* 全称: Advanced RISC Machine 64-bit;
|
||||
* 主要用途: 主要应用于移动设备、嵌入式系统以及一些新型的服务器和桌面计算机;
|
||||
* 优势: 低功耗、高效率,适合用在电池驱动和热敏感的设备;
|
||||
* 主要生产商: 苹果、高通、海思、飞腾等。
|
||||
|
||||
amd64
|
||||
#### amd64
|
||||
|
||||
* 全称: AMD 64-bit, 也被称为 x86_64
|
||||
* 主要用途: 主要应用于桌面计算机、笔记本以及服务器。
|
||||
* 优势: 高性能,适用于计算密集型应用。
|
||||
* 主要生产商: Intel和AMD。
|
||||
* 两者最主要的不同在于指令集和应用场景。amd64通常用于高性能需求的计算机和服务器,而arm64则更多应用于功耗要求更严格的场合。
|
||||
* 全称: AMD 64-bit, 也被称为 x86_64;
|
||||
* 主要用途: 主要应用于桌面计算机、笔记本以及服务器;
|
||||
* 优势: 高性能,适用于计算密集型应用;
|
||||
* 主要生产商: Intel 和 AMD。
|
||||
|
||||
查看方法:
|
||||
两者最主要的不同在于指令集和应用场景。amd64 通常用于高性能需求的计算机和服务器,而arm64则更多应用于功耗要求更严格的场合。
|
||||
|
||||
Linux:
|
||||
#### 查看方法:
|
||||
|
||||
- 打开终端。
|
||||
- 输入 uname -m 或 arch 并按回车。
|
||||
- 你将看到你的处理器架构(可能是 x86_64, aarch64 等)。
|
||||
- 打开 Linux 终端;
|
||||
- 输入命令 `uname -m` 或 `arch` 并按 `Enter` 键执行;
|
||||
- 您将看到您计算机的处理器架构(可能是 x86_64, aarch64 等)。
|
||||
---
|
||||
|
||||
### 国产架构支持
|
||||
**Q: 我是国产架构,怎么获取应用?**
|
||||
**A:** 目前,星火商店支持**arm**架构的国产芯片。你可以下载适用于 arm64 架构的deb包(软件安装包)。
|
||||
> ⚠️ 请注意,这是实验性的支持。如果遇到问题,请在星火交流平台、QQ群或论坛向我们反馈。
|
||||
**Q: 我的计算机属于国产架构,如何获取星火应用商店?**
|
||||
**A:** 目前,星火商店支持 **ARM** 架构和**龙芯·新世界**架构的国产芯片。您可以下载适用于 arm64 架构和 loong64 架构的 deb 包(软件安装包)。
|
||||
> ⚠️ 请注意,这项支持是实验性的。若遇到问题,请在星火社区论坛或 QQ 交流群向我们反馈。
|
||||
|
||||
---
|
||||
|
||||
### 安装依赖问题
|
||||
**Q: 安装依赖包出现错误**
|
||||
**A:** 如果你使用UOS或deepin,请不要安装依赖包。对于Kali Linux/Kdeneon等,暂时不支持,请自行编译安装。
|
||||
> 💡 出现错误时,尝试运行 `sudo apt update` 后再尝试安装。如果问题仍然存在,请参考第一条,进入交流平台寻求帮助。
|
||||
**Q: 安装依赖包出现错误,怎么办?**
|
||||
**A:** 如果您使用 UOS 或 deepin,请不要安装依赖包。仅有部分 Linux 发行版需要安装依赖包,此外对于不在支持列表中的发行版可能需要您自行编译安装,详见[星火应用商店简介](https://gitee.com/spark-store-project/spark-store/blob/dev/README.zh.md)。
|
||||
> 💡 出现错误时,请运行 `sudo apt update` 后再尝试安装。如果问题仍然存在,请参考上文,进入交流平台寻求帮助。
|
||||
|
||||
---
|
||||
|
||||
### 投稿与应用更新
|
||||
**Q: 在哪里投稿?**
|
||||
**A:** 你可以在应用商店界面的右上角菜单找到“投递应用”的选项。
|
||||
**Q: 在哪里可以投稿软件?**
|
||||
**A:** 您可以在应用商店界面的右上角菜单找到“投递应用”的选项,我们提供了**投递工具**和**在线平台**两种投稿方案。
|
||||
|
||||
---
|
||||
|
||||
### 非deepin/UOS用户支持
|
||||
**Q: 我不是deepin/UOS用户,可以使用星火应用商店吗?**
|
||||
**A:** 可以,如果你是使用 Ubuntu 22.04,请直接安装。对于 Ubuntu 20.04/Debian10/Debian11,请先安装依赖包。
|
||||
### 非 deepin/UOS 用户支持
|
||||
**Q: 我不是 deepin/UOS 用户,可以使用星火应用商店吗?**
|
||||
**A:** 在 Debian 系发行版可正常安装使用。例如,如果您使用 Ubuntu 22.04,请直接安装;对于 Ubuntu 20.04 / Debian 10 / Debian 11,请先安装依赖包。此外,如果您在非 Debian 系 Linux 发行版安装使用星火应用商店,软件的体验可能无法得到保证。
|
||||
|
||||
---
|
||||
|
||||
### 安装方法
|
||||
**Q: 我可以用dpkg -i安装吗?**
|
||||
**A:** 不可以!使用 `sudo apt install ./xxxx.deb` 来安装,或者使用gdebi等图形化的安装器。
|
||||
> ⚠️ 直接使用dpkg是不会处理软件依赖的,这是一个常见的错误。
|
||||
**Q: 我可以用 `dpkg -i` 安装吗?**
|
||||
**A:** 我们**极不建议您这样做**。请在安装包保存目录下,使用 `sudo apt install ./spark-store*.deb` 安装,或使用 Gdebi 等图形化安装器。
|
||||
> ⚠️ 直接使用 `dpkg` 一般不会处理软件依赖,可能致使安装失败、破坏系统依赖环境。
|
||||
|
||||
---
|
||||
|
||||
### 系统更新
|
||||
**Q: 星火商店会影响系统正常更新吗?**
|
||||
**A:** 不会,星火商店已经将应用源与系统源分开,不会影响系统的正常更新。
|
||||
**Q: 星火应用商店会影响系统正常更新吗?**
|
||||
**A:** 不会,当前版本的星火应用商店已将应用源与系统源解耦合,不会影响系统的正常更新。
|
||||
|
||||
---
|
||||
|
||||
### 报告问题和应用下架
|
||||
**Q: 有些应用已经过时或者失效了,我想让他下架**
|
||||
**A:** 你可以前往 [这里](https://gitee.com/spark-store-project/software_-issue) 报告问题。
|
||||
**Q: 有些应用已经过时或者失效了,我想让它下架。**
|
||||
**A:** 您可以[前往这里](https://gitee.com/spark-store-project/software_-issue)报告问题。
|
||||
|
||||
---
|
||||
|
||||
### 安装星火应用商店
|
||||
如果你想安装星火应用商店,请打开[Release页面](https://gitee.com/spark-store-project/spark-store/releases),找到最新版本,并选择适用于当前系统的安装包下载。
|
||||
如果您需要安装星火应用商店,请打开 [Release 页面](https://gitee.com/spark-store-project/spark-store/releases),找到最新版本,并选择适用于当前系统的安装包下载。
|
||||
|
||||
> ⚠️ 特别提示: 如果你在使用 Debian10/Debian11 或 Ubuntu 20.04,你可能额外下载依赖补充包。您需要在下载完依赖包后,解压多次一直到看到内部的软件使用说明,对于 Ubuntu22.04 以后的操作系统版本,您无需安装依赖包,您需要按照上面的操作直接安装本体程序。
|
||||
> ⚠️ 特别提示: 如果您在使用 Debian 10 / Debian 11 或 Ubuntu 20.04,则需要额外下载依赖补充包;您需要在下载完依赖包后,解压多次直至内部的依赖包使用说明可见,按照步骤安装依赖。对于 Ubuntu 22.04 以后的操作系统版本,您无需安装依赖包,按照上面的操作直接安装本体程序即可。
|
||||
|
||||
---
|
170
README.md
@ -1,40 +1,52 @@
|
||||
# Spark App Store
|
||||
[](https://gitee.com/spark-store-project/spark-store/stargazers) [](https://gitee.com/spark-store-project/spark-store/members)
|
||||
# Spark Store
|
||||
[](https://gitee.com/spark-store-project/spark-store/stargazers) [](https://gitee.com/spark-store-project/spark-store/members)
|
||||

|
||||
|
||||
## Introduction
|
||||
|
||||
Welcome to the Spark App Store! This is an app store designed for Linux users, aiming to solve the problem of dispersed and difficult-to-obtain applications in the Linux ecosystem. No matter what type of Linux distribution you are using, you may find suitable software packages here.
|
||||
## Introduction
|
||||
|
||||
The number of Linux applications is relatively limited, and the availability of Wine software is also quite challenging. Excellent development and tool resources are scattered across various communities and forums, making it difficult for the entire ecosystem to improve comprehensively.
|
||||
Welcome to the **Spark Store**! This is an application store designed for Linux platform users, aiming to address the issues of fragmented and difficult-to-obtain software within the Linux ecosystem. Regardless of your Linux distribution, you may find suitable software packages here.
|
||||
|
||||
The construction of the ecosystem is not dependent on the isolated efforts of individuals but requires the participation of the entire community. Only when everyone's "sparks" gather together can they ignite a "prairie fire."
|
||||
The number of Linux applications is relatively limited, and obtaining Wine software can also be challenging. Excellent development kits and tool resources are scattered across various communities and forums, making it difficult for the entire ecosystem to achieve comprehensive improvement.
|
||||
|
||||
To improve this situation, we have launched this app store. We have broadly included various user-demand software packages, gathered high-quality tools, and actively adapted Wine applications, all stored in our software library for easy user access.
|
||||
Ecosystem construction does not rely on isolated individual efforts but requires full community participation. Only when everyone's "spark" gathers in one place can it ignite a prairie fire.
|
||||
|
||||
**Currently supported Linux distributions include:**
|
||||
To improve this situation, we have launched the Spark Store. The Spark Community extensively collects software packages for various user needs, aggregates high-quality small tools, and proactively adapts Wine applications. All resources are stored in our repository, allowing users to conveniently access these applications.
|
||||
|
||||
- **amd64 architecture:** deepin 20 / deepin 23 / Ubuntu 20.04 / Ubuntu 22.04 / UOS Home Edition 20
|
||||
- **arm64 architecture:** UOS Professional Edition 1060 / Ubuntu 22.04 / deepin 23
|
||||
- **loong64 architecture:** deepin 23
|
||||
**Currently supported Linux distributions include (but are not limited to):**
|
||||
|
||||
> Special Note: We also support all versions of Ubuntu operating systems higher than Ubuntu 22.04, such as Ubuntu 22.10, 23.04, 23.10, etc.
|
||||
- **amd64 Architecture:** deepin 20 / deepin 23 / Ubuntu 20.04 / Ubuntu 22.04 / UOS Home Edition 20 / Debian 11+
|
||||
- **arm64 Architecture:** UOS Professional Edition 1060 / Ubuntu 22.04 / deepin 23
|
||||
- **loong64 Architecture:** deepin 23
|
||||
|
||||
**Important Notice:** This software does not provide any form of warranty. If you plan to use it on UOS Professional Edition, please make sure to understand and enable Developer Mode. Make sure you have basic troubleshooting capabilities. It should be clear that we have not conducted extensive testing on the UOS operating system. Therefore, using the Spark client may lead to a series of issues like failed system updates, data loss, etc., all risks to be borne by the user.
|
||||
> Special Note: Spark Store also supports all Ubuntu OS versions newer than Ubuntu 22.04, such as Ubuntu 22.10, 23.04, 23.10, etc. Additionally, Spark Store may adapt to other Linux distributions beyond the listed platforms; you may conduct installation tests accordingly.
|
||||
|
||||
## Team Collaboration: For detailed documentation related to branch management, please see [this link](https://wiki.spark-app.store/#/Dev/Spark-Store-Git-Repo).
|
||||
**Important Notice:** This software cannot guarantee continuous availability, uninterrupted operation, or meeting specific performance requirements. The Spark community makes no commitment to the functional completeness, stability, or error-free operation of this software. For example, if you plan to use it on UOS Professional Edition (or other similar specific platforms), please ensure you understand and enable the "Developer Mode" features. Basic troubleshooting capabilities are required. It is important to note that the Spark community cannot conduct extensive testing on some special platforms. Therefore, using the Spark Store client on these platforms may lead to various issues such as system update failures or data loss. Using this software indicates your understanding and acceptance that all risks must be borne by the user.
|
||||
|
||||
We warmly welcome you to join our development team. Whether you want to participate in development or submit applications, you can find your place here to jointly promote the development of the Linux application ecosystem.
|
||||
## About Team Collaboration
|
||||
|
||||
You can track our Issue handling status in real-time through the following link: [Issue Board](https://gitee.com/spark-store-project/spark-store/board).
|
||||
Organization Repository Links:
|
||||
|
||||
If you have a software package you'd like to submit, please [click here to submit](https://upload.deepinos.org.cn/index).
|
||||
https://gitee.com/spark-store-project/spark-store
|
||||
|
||||
## Contents
|
||||
https://gitcode.com/spark-store-project/spark-store
|
||||
|
||||
- [Read the copyright](#read-the-copyright)
|
||||
- [Determine your system architecture](#determine-your-system-architecture)
|
||||
- [System support and installation guide](#system-support-and-installation-guide)
|
||||
- [For Deepin / UOS Users](#for-deepin-users)
|
||||
https://github.com/spark-store-project/spark-store
|
||||
|
||||
Refer to [this link](https://wiki.spark-app.store/#/Dev/Spark-Store-Git-Repo) for detailed documentation on branch management.
|
||||
|
||||
We warmly welcome you to join our development team. Whether you wish to participate in development or plan to submit applications, you can find your place here to jointly promote the development of the Linux application ecosystem.
|
||||
|
||||
You can track our Issue processing status in real-time via the [Issue Board](https://gitee.com/spark-store-project/spark-store/board).
|
||||
|
||||
If you have software packages to submit, please [click here to contribute](https://wiki.spark-app.store/#/Submit/Submit).
|
||||
|
||||
## Table of Contents
|
||||
|
||||
- [Read the Copyright Notice](#read-the-copyright-notice)
|
||||
- [Determine Your System Architecture](#determine-your-system-architecture)
|
||||
- [System Support and Installation Instructions](#system-support-and-installation-instructions)
|
||||
- [For deepin Users](#for-deepin-users)
|
||||
- [For Ubuntu Users](#for-ubuntu-users)
|
||||
- [For Debian Users](#for-debian-users)
|
||||
- [Frequently Asked Questions (FAQ)](#frequently-asked-questions-faq)
|
||||
@ -42,126 +54,126 @@ If you have a software package you'd like to submit, please [click here to submi
|
||||
|
||||
---
|
||||
|
||||
## Read [the copyright](LICENSE)
|
||||
## Read the [Copyright Notice](LICENSE)
|
||||
|
||||
|
||||
## Determine Your System Architecture
|
||||
|
||||
## Determine your system architecture
|
||||
Before installing any software, you need to know which architecture your computer is running on (e.g., x86_64/amd64 or aarch64/arm64), which also applies to the Spark Store.
|
||||
|
||||
Before installing any software, you need to know what architecture your computer runs on (such as x86_64/amd64 or aarch64/arm64).
|
||||
**How to Check:**
|
||||
|
||||
**How to check:**
|
||||
1. Open the Linux terminal.
|
||||
2. Enter the command `uname -m` or `arch` and press `Enter`.
|
||||
|
||||
1. Open a Linux terminal.
|
||||
2. Type `uname -m` or `arch` and press Enter.
|
||||
You will see the terminal output result, which helps determine your system architecture. Examples:
|
||||
|
||||
You will see an output, and that's your system architecture.
|
||||
- If you see `x86_64`, your system is amd64 architecture.
|
||||
- If you see `aarch64`, your system is arm64 architecture.
|
||||
|
||||
- If you see `x86_64`, your system is AMD64 architecture.
|
||||
- If you see `aarch64`, your system is ARM64 architecture.
|
||||
Based on this result, you need to download the corresponding version of the Spark Store installer to use it properly.
|
||||
|
||||
---
|
||||
|
||||
## System support and installation guide
|
||||
## System Support and Installation Instructions
|
||||
|
||||
### For Deepin Users
|
||||
Based on your Linux distribution and system architecture, here are detailed steps to install Spark Store.
|
||||
|
||||
#### For Deepin Users
|
||||
### For deepin Users
|
||||
|
||||
#### For deepin Users
|
||||
|
||||
1. **Download and Install**
|
||||
|
||||
You can directly search for Spark App Store in the Deepin Store to install, or copy this link to open and install in your browser:
|
||||
You can directly search for `Spark Store` in the deepin App Store for installation, or copy this link to your browser address bar to jump to the deepin App Store installation page.
|
||||
|
||||
> appstore://deepin-home-appstore-client?app_detail_info/spark-store
|
||||
|
||||
To use the latest version, please visit the [Spark App Store Release page](https://gitee.com/spark-store-project/spark-store/releases) and download the latest version suitable for Deepin. Install to use.
|
||||
Versions published in the deepin App Store may not be the latest. To use the latest version, visit the Spark Store [Gitee Release Page](https://gitee.com/spark-store-project/spark-store/releases) or [Gitcode Release Page](https://gitcode.com/spark-store-project/spark-store/releases) and download the latest version for deepin, then install it.
|
||||
|
||||
Assuming you've downloaded to the `Downloads` folder in your user directory, we recommend you use the APT tool to install:
|
||||
Assuming you downloaded the installer to the Downloads folder under your home directory, we recommend using the `apt` tool for installation to avoid potential dependency issues:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
|
||||
### For Ubuntu Users
|
||||
|
||||
#### For Ubuntu 20.04 Users
|
||||
|
||||
1. **Download Dependencies**
|
||||
* Please visit the [Spark App Store Dependency Download page](https://gitee.com/spark-store-project/spark-store-dependencies/releases) and download the latest dependency package.
|
||||
* Unzip the dependency package multiple times until you see multiple installation packages ending with `.deb`.
|
||||
* Follow the instructions in the dependency package to install all the dependencies at once.
|
||||
* Visit the [Spark Store Dependency Package Download Page](https://gitee.com/spark-store-project/spark-store-dependencies/releases) to download the latest dependency package;
|
||||
* Extract the dependency package multiple times until you see numerous `.deb` installation packages;
|
||||
* Follow the instructions inside the dependency package to install all dependencies at once.
|
||||
|
||||
2. **Download and Install**
|
||||
|
||||
Visit the [Spark App Store Release page](https://gitee.com/spark-store-project/spark-store/releases), download the installation package that matches your computer's architecture, and install it.
|
||||
Visit the Spark Store [Gitee Release Page](https://gitee.com/spark-store-project/spark-store/releases) or [Gitcode Release Page](https://gitcode.com/spark-store-project/spark-store/releases) to download and install the installer matching your computer's architecture.
|
||||
|
||||
Assuming you've downloaded to the `Downloads` folder in your user directory, we recommend you use the APT tool to install:
|
||||
Assuming you downloaded the installer to the Downloads folder under your home directory, we recommend using the `apt` tool for installation to avoid potential dependency issues:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
|
||||
#### For Ubuntu 22.04 and Higher Version Users
|
||||
|
||||
1. **No Need to Install Dependencies**
|
||||
#### For Ubuntu 22.04 and Newer Ubuntu Versions
|
||||
1. **No Dependency Package Required**
|
||||
|
||||
2. **Download and Install**
|
||||
|
||||
Visit the [Spark App Store Release page](https://gitee.com/spark-store-project/spark-store/releases), download the installation package that matches your computer's architecture, and install it.
|
||||
Visit the Spark Store [Gitee Release Page](https://gitee.com/spark-store-project/spark-store/releases) or [Gitcode Release Page](https://gitcode.com/spark-store-project/spark-store/releases) to download and install the installer matching your computer's architecture.
|
||||
|
||||
Assuming you've downloaded to the `Downloads` folder in your user directory, we recommend you use the APT tool to install:
|
||||
Assuming you downloaded the installer to the Downloads folder under your home directory, we recommend using the `apt` tool for installation to avoid potential dependency issues:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
|
||||
### For Debian Users
|
||||
|
||||
#### For Debian 11 Users
|
||||
|
||||
1. **Download Dependencies**
|
||||
* Please visit the [Spark App Store Dependency Download page](https://gitee.com/spark-store-project/spark-store-dependencies/releases) and download the latest dependency package.
|
||||
* Unzip the dependency package multiple times until you see multiple installation packages ending with `.deb`.
|
||||
* Follow the instructions in the dependency package to install all the dependencies at once.
|
||||
* Visit the [Spark Store Dependency Package Download Page](https://gitee.com/spark-store-project/spark-store-dependencies/releases) to download the latest dependency package;
|
||||
* Extract the dependency package multiple times until you see numerous `.deb` installation packages;
|
||||
* Follow the instructions inside the dependency package to install all dependencies at once.
|
||||
|
||||
2. **Download and Install**
|
||||
|
||||
Please visit the [Spark App Store Release page](https://gitee.com/spark-store-project/spark-store/releases) and download. Install to use.
|
||||
Visit the Spark Store [Gitee Release Page](https://gitee.com/spark-store-project/spark-store/releases) or [Gitcode Release Page](https://gitcode.com/spark-store-project/spark-store/releases) to download and install the installer.
|
||||
|
||||
#### For Debian 12+ Users
|
||||
|
||||
1. **No Need to Install Dependencies**
|
||||
1. **No Dependency Package Required**
|
||||
|
||||
2. **Download and Install**
|
||||
|
||||
Please visit the [Spark App Store Release page](https://gitee.com/spark-store-project/spark-store/releases), download the installation package that matches your computer's architecture, and install it.
|
||||
Visit the Spark Store [Gitee Release Page](https://gitee.com/spark-store-project/spark-store/releases) or [Gitcode Release Page](https://gitcode.com/spark-store-project/spark-store/releases) to download and install the installer matching your computer's architecture.
|
||||
|
||||
Assuming you've downloaded to the `Downloads` folder in your user directory, we recommend you use the APT tool to install:
|
||||
Assuming you downloaded the installer to the Downloads folder under your home directory, we recommend using the `apt` tool for installation to avoid potential dependency issues:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Frequently Asked Questions (FAQ)
|
||||
|
||||
Please refer to the [Spark App Store FAQ and Support Guide](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.md).
|
||||
|
||||
To customly configure aptss, refer to [aptss](https://gitee.com/GXDE-OS/aptss)
|
||||
Please refer to the [Spark Store FAQ and Support Guide](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.md);
|
||||
For advanced users requiring custom aptss config configuration, please refer to the [aptss Repository](https://gitee.com/GXDE-OS/aptss).
|
||||
|
||||
---
|
||||
|
||||
## Contact and Feedback
|
||||
|
||||
- If you have any questions or suggestions, please submit them via email or on our [Issue Page](https://gitee.com/spark-store-project/spark-store/issues).
|
||||
- If you want to follow our development progress, you can go to the [Spark App Store Board](https://gitee.com/spark-store-project/spark-store/board) for more information.
|
||||
- Our [Forum](https://bbs.spark-app.store/)
|
||||
- Our [QQ Group](https://blog.shenmo.tech/post/%E6%95%85%E9%9A%9C%E5%85%AC%E5%91%8A/)
|
||||
- For commercial support, please leave your issue~
|
||||
|
||||
- If you have any questions or suggestions, please submit issues via email or the [Issue Page](https://gitee.com/spark-store-project/spark-store/issues);
|
||||
- If you want to follow our development progress, visit the [Spark Store Board](https://gitee.com/spark-store-project/spark-store/board) for more information;
|
||||
- Welcome to visit the [Spark Community Forum](https://bbs.spark-app.store/) to join discussions;
|
||||
- Our QQ Discussion Group: 872690351 and 865927727;
|
||||
- If you or your organization requires commercial support, please leave a message for consultation.
|
||||
---
|
120
README.zh.md
@ -1,61 +1,70 @@
|
||||
# 星火应用商店
|
||||
[](https://gitee.com/spark-store-project/spark-store/stargazers) [](https://gitee.com/spark-store-project/spark-store/members)
|
||||
|
||||

|
||||
|
||||
|
||||
## 简介
|
||||
|
||||
欢迎来到星火应用商店!这是一个为Linux用户设计的应用商店,旨在解决Linux生态下应用分散、难以获取的问题。无论你是使用什么类型的Linux发行版,这里都有可能找到适合你的软件包。
|
||||
欢迎来到**星火应用商店**!这是一个为 Linux 平台用户设计的应用商店,旨在解决 Linux 生态下应用分散、难以获取的问题。无论您使用什么类型的 Linux 发行版,在这里都有可能找到适合您的软件包。
|
||||
|
||||
|
||||
Linux 应用的数量相对有限,Wine 软件的可获得性也颇为困难。优秀的开发和工具资源散布在各大社区和论坛之间,这种分散化让整个生态系统难以得到全面的提升。
|
||||
Linux 应用的数量相对有限,Wine 软件的可获取性也颇为困难。优秀的开发套件和工具资源散布在各大社区和论坛之间,这种分散化让整个生态系统难以得到全面的提升。
|
||||
|
||||
生态系统的构建并非依赖个体的孤立努力,而需要全社区共同参与。只有当大家的“星火”聚集一处,方可引发“燎原之势”。
|
||||
|
||||
为了改善这一现状,我们推出了这个应用商店。我们广泛地收录了各种用户需求的软件包,汇集了高质量的小工具,并主动对 Wine 应用进行了适配,一切都储存在我们的软件库中,使得用户可以方便地获取这些应用。
|
||||
为了改善这一现状,我们推出了星火应用商店。星火社区广泛地收录了各种用户需求的软件包,汇集了高质量的小工具,并主动对 Wine 应用进行了适配,一切都储存在我们的软件库中,使得用户可以方便地获取这些应用。
|
||||
|
||||
**当前支持的Linux发行版包括:**
|
||||
**当前支持的 Linux 发行版包括(但不限于):**
|
||||
|
||||
- **amd64架构:** deepin 20 / deepin 23 / Ubuntu 20.04 / Ubuntu 22.04 / UOS家庭版20
|
||||
- **arm64架构:** UOS专业版1060 / Ubuntu 22.04 / deepin 23
|
||||
- **loong64架构:** deepin 23
|
||||
- **amd64 架构:** deepin 20 / deepin 23 / Ubuntu 20.04 / Ubuntu 22.04 / UOS 家庭版 20 / Debian 11+
|
||||
- **arm64 架构:** UOS 专业版 1060 / Ubuntu 22.04 / deepin 23
|
||||
- **loong64 架构:** deepin 23
|
||||
|
||||
> 特别说明:我们还支持所有版本高于Ubuntu 22.04的Ubuntu操作系统,例如Ubuntu 22.10、23.04、23.10等。
|
||||
> 特别说明:星火应用商店还支持所有版本高于 Ubuntu 22.04 的 Ubuntu 操作系统,例如 Ubuntu 22.10、23.04、23.10 等。此外星火应用商店也可能适配除上述平台的其他 Linux 发行版,您可自行进行安装测试。
|
||||
|
||||
**重要须知:** 本软件不提供任何形式的保证。若您计划在UOS专业版上使用,请务必了解并启用开发者模式。请确保您具备基础的故障排查能力。需要明确的是,我们没有在UOS操作系统上进行广泛的测试。因此,使用星火客户端可能会导致一系列问题,如系统更新失败、数据丢失等,所有风险需由用户自行承担。
|
||||
**重要须知:** 本软件无法保证持续可用、无中断运行或满足特定性能要求。星火社区对其功能完整性、稳定性及无错误运行不作任何承诺。例如,若您计划在 UOS 专业版(或其他类似特定平台)上使用,请务必了解并启用“开发者模式”相关功能。请确保您具备基础的故障排查能力。需要明确的是,星火社区无法在部分特殊平台上进行广泛测试。因此,在这些平台上使用星火应用商店客户端可能会导致一系列问题,如系统更新失败、数据丢失等;使用该软件,即代表您理解并同意所有风险需由用户自行承担。
|
||||
|
||||
|
||||
|
||||
## 关于团队协作
|
||||
|
||||
组织仓库链接:
|
||||
|
||||
https://gitee.com/spark-store-project/spark-store
|
||||
|
||||
https://gitcode.com/spark-store-project/spark-store
|
||||
|
||||
https://github.com/spark-store-project/spark-store
|
||||
|
||||
分支管理相关的详细文档可参见 [此链接](https://wiki.spark-app.store/#/Dev/Spark-Store-Git-Repo)。
|
||||
参见[此链接](https://wiki.spark-app.store/#/Dev/Spark-Store-Git-Repo)以获取分支管理相关的详细文档。
|
||||
|
||||
我们热忱欢迎您加入我们的开发团队。无论您是想参与开发,还是想提交应用,都能在这里找到属于您的一席之地,共同推动Linux应用生态的发展。
|
||||
我们热忱欢迎您加入我们的开发团队。无论您是希望参与开发,还是计划提交应用,都能在这里找到属于您的一席之地,共同推动 Linux 应用生态的发展。
|
||||
|
||||
您可以通过以下链接,实时跟踪我们的Issue处理状态:[Issue看板](https://gitee.com/spark-store-project/spark-store/board)。
|
||||
您可以通过以下链接,实时跟踪我们的 Issue 处理状态:[Issue 看板](https://gitee.com/spark-store-project/spark-store/board)。
|
||||
|
||||
若您有软件包想要提交,敬请 [点击此处进行投稿](https://wiki.spark-app.store/#/Submit/Submit)。
|
||||
若您有软件包需要提交,敬请[点击此处进行投稿](https://wiki.spark-app.store/#/Submit/Submit)。
|
||||
|
||||
|
||||
|
||||
|
||||
## 目录
|
||||
|
||||
- [阅读版权声明](#阅读版权声明)
|
||||
- [确定你的系统架构](#确定你的系统架构)
|
||||
- [系统支持与安装指引](#系统支持与安装指引)
|
||||
- [对于 Deepin / UOS 用户](#对于deepin用户)
|
||||
- [对于 Ubuntu 用户](#对于ubuntu用户)
|
||||
- [对于 Debian 用户](#对于debian用户)
|
||||
- [常见问题(FAQ)](#常见问题faq)
|
||||
- [联系与反馈](#联系与反馈)
|
||||
- [星火应用商店](#星火应用商店)
|
||||
- [简介](#简介)
|
||||
- [关于团队协作](#关于团队协作)
|
||||
- [目录](#目录)
|
||||
- [阅读版权声明](#阅读版权声明)
|
||||
- [确定你的系统架构](#确定你的系统架构)
|
||||
- [系统支持与安装指引](#系统支持与安装指引)
|
||||
- [对于 deepin 用户](#对于-deepin-用户)
|
||||
- [对于 deepin 用户](#对于-deepin-用户-1)
|
||||
- [对于 Ubuntu 用户](#对于-ubuntu-用户)
|
||||
- [对于 Ubuntu 20.04 用户](#对于-ubuntu-2004-用户)
|
||||
- [对于 Ubuntu 22.04 及更高版本的 Ubuntu 用户](#对于-ubuntu-2204-及更高版本的-ubuntu-用户)
|
||||
- [对于 Debian 用户](#对于-debian-用户)
|
||||
- [对于 Debian 11 用户](#对于-debian-11-用户)
|
||||
- [对于 Debian 12+ 用户](#对于-debian-12-用户)
|
||||
- [常见问题(FAQ)](#常见问题faq)
|
||||
- [联系与反馈](#联系与反馈)
|
||||
|
||||
---
|
||||
|
||||
@ -64,59 +73,64 @@ https://github.com/spark-store-project/spark-store
|
||||
|
||||
## 确定你的系统架构
|
||||
|
||||
在安装任何软件之前,你需要知道你的计算机运行的是哪种架构(如x86_64/amd64或aarch64/arm64)。
|
||||
在安装任何软件之前,您需要知道你的计算机运行在何种架构之上(如 x86_64/amd64 或 aarch64/arm64),对于星火应用商店亦是如此。
|
||||
|
||||
**如何检查:**
|
||||
|
||||
1. 打开Linux终端。
|
||||
2. 输入 `uname -m` 或 `arch` 并按回车。
|
||||
1. 打开 Linux 终端。
|
||||
2. 输入命令 `uname -m` 或 `arch` 并按 `Enter` 键执行。
|
||||
|
||||
你会看到一个输出,这就是你的系统架构。
|
||||
您会看到终端输出结果,借此您可判断计算机的系统架构。举例:
|
||||
|
||||
- 如果看到 `x86_64`,你的系统是AMD64架构。
|
||||
- 如果看到 `aarch64`,你的系统是ARM64架构。
|
||||
- 如果您看到 `x86_64`,说明您的系统为 amd64 架构。
|
||||
- 如果您看到 `aarch64`,说明您的系统为 arm64 架构。
|
||||
|
||||
根据这一结果,您需要下载对应版本的星火应用商店安装包以正常使用。
|
||||
|
||||
---
|
||||
|
||||
## 系统支持与安装指引
|
||||
|
||||
根据你的Linux发行版和系统架构,以下是安装星火应用商店的详细步骤。
|
||||
根据您的 Linux 发行版和系统架构,以下是安装星火应用商店的详细步骤。
|
||||
|
||||
### 对于 Deepin 用户
|
||||
### 对于 deepin 用户
|
||||
|
||||
#### 对于 Deepin 用户
|
||||
#### 对于 deepin 用户
|
||||
|
||||
1. **下载并安装**
|
||||
|
||||
您可直接在深度商店搜索 星火应用商店 安装,或复制此链接到浏览器打开安装
|
||||
您可直接在深度应用商店搜索 `星火应用商店` 安装,或复制此链接到浏览器地址栏,跳转至深度应用商店安装。
|
||||
|
||||
> appstore://deepin-home-appstore-client?app_detail_info/spark-store
|
||||
|
||||
|
||||
若要使用最新版本,请访问[星火应用商店的Release页面](https://gitee.com/spark-store-project/spark-store/releases)或[Gitcode的Release页面](https://gitcode.com/spark-store-project/spark-store/releases)并下载适用于Deepin的最新版本。安装后即可使用。
|
||||
深度应用商店发布的版本可能不是最新的。若要使用最新版本,请访问星火应用商店 [Gitee 的 Release 页面](https://gitee.com/spark-store-project/spark-store/releases)或 [Gitcode 的 Release 页面](https://gitcode.com/spark-store-project/spark-store/releases)并下载适用于 deepin 的最新版本,安装后即可使用。
|
||||
|
||||
假设您下载到用户目录下的 Downloads 文件夹, 我们推荐您使用 APT 工具安装:
|
||||
假设您将安装包下载至用户目录下的 Downloads 文件夹,我们推荐您使用 `apt` 工具进行安装以避免潜在的依赖问题:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
sudo apt install ./spark-store*.deb
|
||||
```
|
||||
2. **使用更新器**
|
||||
您可以在应用商店左下角找到更新按钮,点击即可查看更新列表。
|
||||
|
||||
|
||||
### 对于 Ubuntu 用户
|
||||
|
||||
#### 对于 Ubuntu 20.04 用户
|
||||
|
||||
1. **下载依赖包**
|
||||
* 请访问[星火应用商店依赖包下载页面](https://gitee.com/spark-store-project/spark-store-dependencies/releases), 下载最新的依赖包。
|
||||
* 请多次解压依赖包,直到你可以看到诸多以 deb 结尾的安装包。
|
||||
* 请访问[星火应用商店依赖包下载页面](https://gitee.com/spark-store-project/spark-store-dependencies/releases),下载最新的依赖包;
|
||||
* 请多次解压依赖包,直至您可以看到诸多以 deb 结尾的安装包;
|
||||
* 依据依赖包内的说明,一次性安装所有的依赖包。
|
||||
|
||||
|
||||
2. **下载并安装**
|
||||
|
||||
请访问[星火应用商店的Release页面](https://gitee.com/spark-store-project/spark-store/releases)或[Gitcode的Release页面](https://gitcode.com/spark-store-project/spark-store/releases),下载和您电脑相同架构的安装包并安装。
|
||||
请访问星火应用商店 [Gitee 的 Release 页面](https://gitee.com/spark-store-project/spark-store/releases)或 [Gitcode 的 Release 页面](https://gitcode.com/spark-store-project/spark-store/releases),下载和您电脑相同架构的安装包并安装。
|
||||
|
||||
假设您下载到用户目录下的 Downloads 文件夹, 我们推荐您使用 APT 工具安装:
|
||||
假设您将安装包下载至用户目录下的 Downloads 文件夹,我们推荐您使用 `apt` 工具进行安装以避免潜在的依赖问题:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
@ -129,9 +143,9 @@ https://github.com/spark-store-project/spark-store
|
||||
|
||||
2. **下载并安装**
|
||||
|
||||
请访问[星火应用商店的Release页面](https://gitee.com/spark-store-project/spark-store/releases)或[Gitcode的Release页面](https://gitcode.com/spark-store-project/spark-store/releases),下载和您电脑相同架构的安装包并安装。
|
||||
请访问星火应用商店 [Gitee 的 Release 页面](https://gitee.com/spark-store-project/spark-store/releases)或 [Gitcode 的 Release 页面](https://gitcode.com/spark-store-project/spark-store/releases),下载和您电脑相同架构的安装包并安装。
|
||||
|
||||
假设您下载到用户目录下的 Downloads 文件夹, 我们推荐您使用 APT 工具安装:
|
||||
假设您将安装包下载至用户目录下的 Downloads 文件夹,我们推荐您使用 `apt` 工具进行安装以避免潜在的依赖问题:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
@ -143,13 +157,13 @@ https://github.com/spark-store-project/spark-store
|
||||
#### 对于 Debian 11 用户
|
||||
|
||||
1. **下载依赖包**
|
||||
* 请访问[星火应用商店依赖包下载页面](https://gitee.com/spark-store-project/spark-store-dependencies/releases), 下载最新的依赖包。
|
||||
* 请多次解压依赖包,直到你可以看到诸多以 deb 结尾的安装包。
|
||||
* 请访问[星火应用商店依赖包下载页面](https://gitee.com/spark-store-project/spark-store-dependencies/releases), 下载最新的依赖包;
|
||||
* 请多次解压依赖包,直到您可以看到诸多以 deb 结尾的安装包;
|
||||
* 依据依赖包内的说明,一次性安装所有的依赖包。
|
||||
|
||||
2. **下载并安装**
|
||||
|
||||
请访问[星火应用商店的Release页面](https://gitee.com/spark-store-project/spark-store/releases)或[Gitcode的Release页面](https://gitcode.com/spark-store-project/spark-store/releases)并下载,安装后即可使用。
|
||||
请访问星火应用商店 [Gitee 的 Release 页面](https://gitee.com/spark-store-project/spark-store/releases)或 [Gitcode 的 Release 页面](https://gitcode.com/spark-store-project/spark-store/releases)并下载,安装后即可使用。
|
||||
|
||||
|
||||
#### 对于 Debian 12+ 用户
|
||||
@ -159,9 +173,9 @@ https://github.com/spark-store-project/spark-store
|
||||
|
||||
2. **下载并安装**
|
||||
|
||||
请访问[星火应用商店的Release页面](https://gitee.com/spark-store-project/spark-store/releases)或[Gitcode的Release页面](https://gitcode.com/spark-store-project/spark-store/releases),下载和您电脑相同架构的安装包并安装。
|
||||
请访问星火应用商店 [Gitee 的 Release 页面](https://gitee.com/spark-store-project/spark-store/releases)或 [Gitcode 的 Release 页面](https://gitcode.com/spark-store-project/spark-store/releases),下载和您电脑相同架构的安装包并安装。
|
||||
|
||||
假设您下载到用户目录下的 Downloads 文件夹, 我们推荐您使用 APT 工具安装:
|
||||
假设您将安装包下载至用户目录下的 Downloads 文件夹,我们推荐您使用 `apt` 工具进行安装以避免潜在的依赖问题:
|
||||
|
||||
```shell
|
||||
cd ~/Downloads
|
||||
@ -171,9 +185,9 @@ https://github.com/spark-store-project/spark-store
|
||||
|
||||
## 常见问题(FAQ)
|
||||
|
||||
请参见[星火应用商店FAQ与支持指南](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.zh.md)。
|
||||
请参见[星火应用商店 FAQ 与支持指南](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.zh.md);
|
||||
|
||||
自定义配置 aptss config 请参阅 [aptss](https://gitee.com/GXDE-OS/aptss)
|
||||
对于高级用户,如需自定义配置 aptss config,请参阅 [aptss 软件仓库](https://gitee.com/GXDE-OS/aptss)。
|
||||
|
||||
|
||||
|
||||
@ -181,10 +195,10 @@ https://github.com/spark-store-project/spark-store
|
||||
|
||||
## 联系与反馈
|
||||
|
||||
- 如果您有任何问题或建议,请通过邮件或在[Issue 页面](https://gitee.com/spark-store-project/spark-store/issues)上提交问题。
|
||||
- 如果你想关注我们的开发进度,可以跳转[星火应用商店Board](https://gitee.com/spark-store-project/spark-store/board)获取更多信息。
|
||||
- 我们的[论坛](https://bbs.spark-app.store/)
|
||||
- 我们的QQ群 872690351
|
||||
- 商业支持请留言咨询~
|
||||
- 如果您有任何问题或建议,请通过邮件或在 [Issue 页面](https://gitee.com/spark-store-project/spark-store/issues)上提交问题;
|
||||
- 如果你想关注我们的开发进度,可以跳转至[星火应用商店 Board](https://gitee.com/spark-store-project/spark-store/board) 获取更多信息;
|
||||
- 欢迎访问[星火社区论坛](https://bbs.spark-app.store/)加入讨论;
|
||||
- 我们的 QQ 交流群号:872690351 和 865927727;
|
||||
- 若您和您的组织需要寻求商业支持,请留言咨询。
|
||||
|
||||
---
|
||||
|
22
debian/changelog
vendored
@ -1,8 +1,22 @@
|
||||
spark-store (4.7.0) UNRELEASED; urgency=medium
|
||||
spark-store (4.8.1-1) UNRELEASED; urgency=medium
|
||||
|
||||
* aptss 第二、三阶段加速
|
||||
* 修复部分应用无法启动的问题
|
||||
* 支持使用 ACE deepin23 trixie
|
||||
* 修复更新器安装软件完成后仍然显示下载完成的问题
|
||||
* 修复一些aptss锁定失败bug
|
||||
|
||||
-- momen <vmomenv@gmail.com> Tue, 28 Aug 2025 01:03:08 +0800
|
||||
|
||||
spark-store (4.8.1~test1) UNRELEASED; urgency=medium
|
||||
|
||||
* 添加全新的更新器
|
||||
* 替换了新版更新器的polkit policy
|
||||
|
||||
-- momen <vmomenv@gmail.com> Tue, 15 Jul 2025 01:03:08 +0800
|
||||
|
||||
spark-store (4.8.0) UNRELEASED; urgency=medium
|
||||
|
||||
* ssinstall重写,支持安装到ACE和自动安装到ACE,支持只允许安装到本地
|
||||
* 商店支持展示ACE标识,支持识别 native amber-ce-bookworm amber-ce-trixie amber-ce-sid amber-ce-deepin23
|
||||
* 投稿器支持新版spec
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
||||
|
||||
|
2
debian/spark-store.postinst
vendored
@ -41,7 +41,7 @@ case "$1" in
|
||||
ln -s -f /opt/durapps/spark-store/bin/aptss /usr/local/bin/ss-apt-fast
|
||||
|
||||
ln -s -f /opt/durapps/spark-store/bin/aptss /usr/bin/aptss
|
||||
|
||||
ln -sf /usr/lib/qt5/bin/spark-update-tool /usr/bin/spark-update-tool
|
||||
|
||||
|
||||
# Install key
|
||||
|
Before ![]() (image error) Size: 89 KiB After ![]() (image error) Size: 253 KiB ![]() ![]() |
Before (image error) Size: 14 KiB After (image error) Size: 34 KiB |
302
pkg/usr/share/icons/hicolor/scalable/apps/spark-store_128px.svg
Normal file
@ -0,0 +1,302 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
|
||||
<defs>
|
||||
<clipPath id="clip1">
|
||||
<path d="M 128 25.601562 L 128 102.398438 C 128 109.1875 125.304688 115.703125 120.5 120.5 C 115.703125 125.304688 109.1875 128 102.398438 128 L 25.601562 128 C 18.8125 128 12.296875 125.304688 7.5 120.5 C 2.695312 115.703125 0 109.1875 0 102.398438 L 0 25.601562 C 0 11.460938 11.460938 0 25.601562 0 L 102.398438 0 C 109.1875 0 115.703125 2.695312 120.5 7.5 C 125.304688 12.296875 128 18.8125 128 25.601562 Z M 128 25.601562 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 128 25.601562 L 128 102.398438 C 128 109.1875 125.304688 115.703125 120.5 120.5 C 115.703125 125.304688 109.1875 128 102.398438 128 L 25.601562 128 C 18.8125 128 12.296875 125.304688 7.5 120.5 C 2.695312 115.703125 0 109.1875 0 102.398438 L 0 25.601562 C 0 11.460938 11.460938 0 25.601562 0 L 102.398438 0 C 109.1875 0 115.703125 2.695312 120.5 7.5 C 125.304688 12.296875 128 18.8125 128 25.601562 Z M 128 25.601562 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="256" y2="256" gradientTransform="matrix(0.5,0,0,0.5,0.000001536,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,100%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,100%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,99.607843%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,99.607843%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,99.607843%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,99.215686%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,99.215686%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,99.215686%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,98.823529%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,98.823529%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(100%,98.039216%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(100%,97.647059%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(100%,97.647059%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(100%,97.254902%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(100%,96.862745%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(100%,96.470588%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(100%,96.078431%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(100%,95.686275%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(100%,95.686275%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(100%,95.294118%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(100%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(99.607843%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(99.215686%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(98.823529%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(98.431373%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(98.431373%,94.509804%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(98.039216%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(97.647059%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(96.862745%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(96.470588%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(95.686275%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(95.294118%,94.509804%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(94.509804%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(94.117647%,94.117647%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(93.72549%,94.117647%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip3">
|
||||
<path d="M 128 25.601562 L 128 102.398438 C 128 109.1875 125.304688 115.703125 120.5 120.5 C 115.703125 125.304688 109.1875 128 102.398438 128 L 25.601562 128 C 18.8125 128 12.296875 125.304688 7.5 120.5 C 2.695312 115.703125 0 109.1875 0 102.398438 L 0 25.601562 C 0 11.460938 11.460938 0 25.601562 0 L 102.398438 0 C 109.1875 0 115.703125 2.695312 120.5 7.5 C 125.304688 12.296875 128 18.8125 128 25.601562 Z M 128 25.601562 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="213.329956" y2="213.329956" gradientTransform="matrix(2.343787,0,0,2.343787,0,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,91.764706%,56.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.00390625" style="stop-color:rgb(100%,91.764706%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0078125" style="stop-color:rgb(100%,91.372549%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0117188" style="stop-color:rgb(100%,91.372549%,57.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,91.372549%,57.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.0195312" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0234375" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0273438" style="stop-color:rgb(100%,90.980392%,58.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0351562" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0390625" style="stop-color:rgb(100%,90.588235%,59.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0429688" style="stop-color:rgb(100%,90.196078%,59.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0507812" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0546875" style="stop-color:rgb(100%,89.803922%,60.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.0585938" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0664062" style="stop-color:rgb(100%,89.411765%,61.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.0703125" style="stop-color:rgb(100%,89.411765%,61.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.0742188" style="stop-color:rgb(100%,89.411765%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,89.019608%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.0820312" style="stop-color:rgb(100%,89.019608%,62.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.0859375" style="stop-color:rgb(100%,89.019608%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.0898438" style="stop-color:rgb(100%,88.627451%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,88.627451%,63.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.0976562" style="stop-color:rgb(100%,88.235294%,63.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.101562" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.105469" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,87.843137%,64.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.113281" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.117188" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.121094" style="stop-color:rgb(100%,87.45098%,65.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,87.45098%,65.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.128906" style="stop-color:rgb(100%,87.45098%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.132812" style="stop-color:rgb(100%,87.058824%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.136719" style="stop-color:rgb(100%,87.058824%,66.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,87.058824%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.144531" style="stop-color:rgb(100%,86.666667%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.148438" style="stop-color:rgb(100%,86.666667%,67.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.152344" style="stop-color:rgb(100%,86.666667%,67.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.160156" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.164062" style="stop-color:rgb(100%,86.27451%,68.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.167969" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.175781" style="stop-color:rgb(100%,85.882353%,69.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.179688" style="stop-color:rgb(100%,85.490196%,69.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.183594" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.191406" style="stop-color:rgb(100%,85.098039%,70.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.195312" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.199219" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,84.705882%,70.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.207031" style="stop-color:rgb(100%,84.705882%,71.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.210938" style="stop-color:rgb(100%,84.705882%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.214844" style="stop-color:rgb(100%,84.313725%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,84.313725%,72.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.222656" style="stop-color:rgb(100%,84.313725%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.226562" style="stop-color:rgb(100%,83.921569%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.230469" style="stop-color:rgb(100%,83.921569%,72.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,83.921569%,73.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.238281" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.242188" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.246094" style="stop-color:rgb(100%,83.529412%,74.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,83.137255%,74.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.253906" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.257812" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.261719" style="stop-color:rgb(100%,82.745098%,75.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.269531" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.273438" style="stop-color:rgb(100%,82.352941%,76.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.277344" style="stop-color:rgb(100%,82.352941%,76.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.285156" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.289062" style="stop-color:rgb(100%,81.960784%,77.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.292969" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.300781" style="stop-color:rgb(100%,81.568627%,78.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.304688" style="stop-color:rgb(100%,81.176471%,78.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.308594" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.316406" style="stop-color:rgb(100%,80.784314%,79.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.320312" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.324219" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.328125" style="stop-color:rgb(100%,80.392157%,80%);stop-opacity:1;"/>
|
||||
<stop offset="0.332031" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.335938" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.339844" style="stop-color:rgb(99.607843%,80.392157%,80.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.347656" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.351562" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.355469" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.359375" style="stop-color:rgb(98.823529%,80.784314%,81.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.363281" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.367188" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.371094" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.378906" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.382812" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.386719" style="stop-color:rgb(98.039216%,80.784314%,83.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.390625" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.394531" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.398438" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.402344" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(97.254902%,81.176471%,84.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.410156" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.414062" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.417969" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.421875" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.425781" style="stop-color:rgb(96.470588%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.429688" style="stop-color:rgb(96.078431%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.433594" style="stop-color:rgb(96.078431%,81.176471%,86.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.441406" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.445312" style="stop-color:rgb(95.686275%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.449219" style="stop-color:rgb(95.294118%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.453125" style="stop-color:rgb(95.294118%,81.568627%,87.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.457031" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.460938" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.464844" style="stop-color:rgb(94.901961%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(94.509804%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.472656" style="stop-color:rgb(94.509804%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.476562" style="stop-color:rgb(94.117647%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.480469" style="stop-color:rgb(94.117647%,81.568627%,89.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.484375" style="stop-color:rgb(94.117647%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.488281" style="stop-color:rgb(93.72549%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.492188" style="stop-color:rgb(93.72549%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.496094" style="stop-color:rgb(93.333333%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(93.333333%,81.568627%,90.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.503906" style="stop-color:rgb(93.333333%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.507812" style="stop-color:rgb(92.941176%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.511719" style="stop-color:rgb(92.941176%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.515625" style="stop-color:rgb(92.54902%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.519531" style="stop-color:rgb(92.54902%,81.960784%,91.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.523437" style="stop-color:rgb(92.54902%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.527344" style="stop-color:rgb(92.156863%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(92.156863%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.535156" style="stop-color:rgb(91.764706%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.539062" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.542969" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.546875" style="stop-color:rgb(91.372549%,81.960784%,92.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.550781" style="stop-color:rgb(91.372549%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.554687" style="stop-color:rgb(90.980392%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.558594" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.566406" style="stop-color:rgb(90.588235%,82.352941%,94.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.570312" style="stop-color:rgb(90.588235%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.574219" style="stop-color:rgb(90.196078%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.578125" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.582031" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.585937" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.589844" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(89.411765%,82.352941%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.597656" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.601562" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.605469" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.609375" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.613281" style="stop-color:rgb(88.627451%,82.745098%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.617187" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.621094" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.628906" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.632812" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.636719" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.640625" style="stop-color:rgb(87.843137%,82.745098%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.644531" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.648437" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.652344" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.660156" style="stop-color:rgb(87.058824%,83.137255%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.664062" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.671875" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.679687" style="stop-color:rgb(86.27451%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(85.882353%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.695312" style="stop-color:rgb(85.490196%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(85.098039%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.710937" style="stop-color:rgb(84.705882%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(84.705882%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.726562" style="stop-color:rgb(84.313725%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(83.921569%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.742187" style="stop-color:rgb(83.529412%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(83.137255%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.757812" style="stop-color:rgb(82.745098%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(82.352941%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.773437" style="stop-color:rgb(81.960784%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.789062" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(81.176471%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.804687" style="stop-color:rgb(80.784314%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(80.392157%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.820312" style="stop-color:rgb(80%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(79.607843%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.835937" style="stop-color:rgb(79.215686%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(78.823529%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.851562" style="stop-color:rgb(78.431373%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.867187" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(77.647059%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.882812" style="stop-color:rgb(77.254902%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(76.862745%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.898437" style="stop-color:rgb(76.470588%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(76.078431%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.914062" style="stop-color:rgb(75.686275%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(75.294118%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.929687" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.945312" style="stop-color:rgb(74.509804%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(74.117647%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.960937" style="stop-color:rgb(73.72549%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(73.333333%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.976562" style="stop-color:rgb(72.941176%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(72.54902%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.992187" style="stop-color:rgb(72.156863%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(71.764706%,84.705882%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g clip-path="url(#clip1)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip2)" clip-rule="nonzero">
|
||||
<rect x="0" y="0" width="128" height="128" style="fill:url(#linear0);stroke:none;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g clip-path="url(#clip3)" clip-rule="nonzero">
|
||||
<path style="fill:none;stroke-width:60;stroke-linecap:butt;stroke-linejoin:miter;stroke:url(#linear1);stroke-miterlimit:4;" d="M 499.99997 99.99084 L 499.99997 400.009136 C 499.99997 426.513652 489.471406 451.950052 470.703097 470.703103 C 451.950046 489.471412 426.513646 499.999976 400.00913 499.999976 L 99.990834 499.999976 C 73.47106 499.999976 48.03466 489.471412 29.296868 470.703103 C 10.528558 451.950052 -0.000006 426.513652 -0.000006 400.009136 L -0.000006 99.99084 C -0.000006 44.769285 44.769279 0 99.990834 0 L 400.00913 0 C 426.513646 0 451.950046 10.528564 470.703097 29.296874 C 489.471406 48.034666 499.99997 73.471066 499.99997 99.99084 Z M 499.99997 99.99084 " transform="matrix(0.256,0,0,0.256,0.000001536,0)"/>
|
||||
</g>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,76.47059%,26.666668%);fill-opacity:1;" d="M 59.515625 16.824219 C 59.515625 16.824219 67.433594 16.710938 75.570312 21.746094 C 83.710938 26.78125 88.4375 31.589844 89.976562 34.722656 C 91.515625 37.855469 96.574219 43.335938 96.464844 53.40625 C 96.355469 63.472656 94.046875 70.1875 90.085938 75.777344 C 86.128906 81.371094 78.980469 85.625 70.402344 85.847656 C 61.824219 86.070312 56.328125 80.476562 54.460938 77.34375 C 52.589844 74.210938 51.820312 67.5 54.128906 62.6875 C 56.4375 57.878906 60.066406 57.878906 61.277344 58.328125 C 62.484375 58.773438 62.816406 59.445312 63.476562 60.675781 C 64.132812 61.90625 64.574219 61.683594 65.5625 61.011719 C 66.554688 60.339844 66.882812 59.558594 66.664062 58.550781 C 66.445312 57.542969 65.125 56.3125 64.023438 55.976562 C 62.925781 55.640625 61.386719 54.632812 59.1875 54.96875 C 56.988281 55.304688 52.699219 56.425781 49.070312 61.347656 C 45.441406 66.269531 45.882812 73.875 48.078125 77.457031 C 50.28125 81.035156 54.460938 87.75 63.695312 90.097656 C 72.929688 92.445312 87.886719 85.511719 93.054688 74.769531 C 98.222656 64.03125 98.335938 58.996094 98.113281 50.160156 C 97.894531 41.320312 90.085938 28.125 81.398438 23.3125 C 72.710938 18.5 66.222656 15.703125 59.515625 16.824219 Z M 59.515625 16.824219 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(94.117647%,40.392157%,40.392157%);fill-opacity:1;" d="M 64.113281 61.515625 C 64.113281 61.515625 61.9375 59.457031 59.992188 63.09375 C 58.046875 66.734375 57.113281 69.976562 59.058594 73.929688 C 61.003906 77.886719 65.046875 80.257812 71.265625 80.179688 C 77.484375 80.101562 82.074219 78.597656 84.796875 74.089844 C 87.515625 69.582031 89.617188 66.257812 89.851562 64.597656 C 90.085938 62.9375 91.328125 64.835938 90.9375 66.257812 C 90.550781 67.683594 90.628906 70.453125 91.714844 69.898438 C 92.804688 69.34375 93.660156 68.472656 93.816406 68.867188 C 93.96875 69.265625 92.570312 71.71875 91.910156 72.941406 C 91.25 74.167969 89.1875 77.136719 87.984375 78.28125 C 86.777344 79.429688 85.105469 81.050781 83.125 82.238281 C 81.140625 83.421875 78.070312 84.808594 76.359375 85.125 C 74.648438 85.441406 71.226562 86.113281 69.285156 86.035156 C 67.339844 85.957031 64.851562 85.601562 62.089844 84.214844 C 59.332031 82.832031 56.335938 80.695312 55.171875 78.558594 C 54.003906 76.421875 52.214844 74.484375 52.605469 69.105469 C 52.992188 63.726562 54.742188 60.960938 56.066406 59.695312 C 57.386719 58.429688 59.332031 57.875 60.613281 58.148438 C 61.898438 58.429688 62.710938 59.179688 63.023438 59.734375 C 63.335938 60.289062 63.839844 61.3125 64.113281 61.515625 Z M 64.113281 61.515625 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(24.705882%,38.431373%,92.156863%);fill-opacity:1;" d="M 83.863281 89.988281 C 83.863281 89.988281 93.195312 84.53125 97.546875 75.910156 C 101.902344 67.289062 103.765625 61.75 103.222656 53.289062 C 102.679688 44.820312 101.359375 49.015625 102.835938 45.375 C 104.3125 41.738281 101.902344 34.539062 102.914062 34.0625 C 103.921875 33.589844 106.101562 37.226562 106.722656 40.15625 C 107.34375 43.082031 110.066406 52.101562 107.890625 63.570312 C 105.710938 75.039062 100.578125 79.628906 97.15625 82.710938 C 93.738281 85.796875 85.960938 91.175781 84.796875 91.097656 C 83.628906 91.019531 83.476562 91.019531 83.863281 89.988281 Z M 83.863281 89.988281 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(98.823529%,88.235295%,0.784314%);fill-opacity:1;" d="M 67.070312 73.378906 C 67.070312 73.378906 72.042969 74.484375 75.851562 72.113281 C 79.664062 69.742188 82.617188 65.863281 83.085938 64.359375 C 83.550781 62.859375 83.628906 65.703125 84.171875 64.28125 C 84.71875 62.859375 86.898438 60.011719 85.804688 53.367188 C 84.71875 46.722656 84.640625 46.40625 82.617188 42.84375 C 80.597656 39.285156 75.777344 34.382812 72.820312 32.796875 C 69.867188 31.21875 65.746094 28.84375 60.070312 29 C 54.394531 29.160156 56.257812 28.765625 50.816406 29.710938 C 45.375 30.664062 40.476562 33.273438 38.84375 34.695312 C 37.210938 36.121094 32.855469 39.996094 31.300781 42.132812 C 29.742188 44.265625 25.46875 49.09375 23.210938 55.816406 C 20.957031 62.539062 20.023438 63.253906 19.867188 67.683594 C 19.710938 72.113281 20.257812 73.296875 19.324219 73.695312 C 18.390625 74.089844 18.546875 70.371094 18.625 67.761719 C 18.703125 65.152344 18.703125 58.351562 22.125 50.753906 C 25.546875 43.160156 31.609375 36.832031 35.03125 34.539062 C 38.453125 32.246094 42.417969 29.160156 48.5625 27.65625 C 54.703125 26.15625 60.847656 26.390625 64.65625 27.101562 C 68.46875 27.8125 74.375 30.265625 77.5625 32.71875 C 80.75 35.171875 84.25 38.179688 86.898438 43.082031 C 89.539062 47.984375 90.238281 54.234375 90.160156 56.84375 C 90.085938 59.457031 88.761719 65.46875 86.742188 68.394531 C 84.71875 71.320312 81.996094 74.804688 79.195312 76.070312 C 76.398438 77.332031 72.976562 77.730469 70.179688 76.464844 C 67.378906 75.195312 67.535156 74.722656 67.070312 73.378906 Z M 67.070312 73.378906 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(36.862746%,85.09804%,21.960784%);fill-opacity:1;" d="M 67.070312 73.378906 C 67.070312 73.378906 71.007812 74.492188 74.335938 72.980469 C 77.660156 71.46875 78.898438 70.015625 79.695312 69.148438 C 80.492188 68.28125 82.003906 66.660156 82.417969 65.90625 C 82.828125 65.148438 83.269531 64.703125 83.269531 64.421875 C 83.269531 64.144531 82.5 63.472656 83.242188 61.851562 C 83.984375 60.226562 84.644531 56.507812 84.3125 54.832031 C 83.984375 53.152344 83.210938 43.839844 76.617188 37.632812 C 70.019531 31.421875 63.476562 30.695312 63.476562 30.695312 C 63.476562 30.695312 73.921875 33.996094 78.816406 44.007812 C 83.710938 54.019531 82.113281 60.453125 78.980469 64.367188 C 75.847656 68.28125 71.394531 68.730469 70.183594 67.722656 C 68.972656 66.71875 66.480469 72.320312 67.070312 73.378906 Z M 67.070312 73.378906 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(56.078434%,85.882354%,91.37255%);fill-opacity:1;" d="M 54.347656 37.460938 C 54.347656 37.460938 47.3125 37.40625 41.976562 40.929688 C 36.644531 44.453125 34.058594 47.308594 32.574219 49.546875 C 31.089844 51.78125 29.386719 54.859375 29.605469 54.804688 C 29.828125 54.746094 36.039062 46.078125 40.875 43.839844 C 45.714844 41.601562 50.554688 38.46875 57.207031 40.765625 C 63.859375 43.058594 66.996094 46.246094 68.421875 45.460938 C 69.851562 44.679688 70.128906 43.726562 69.304688 42.664062 C 68.476562 41.601562 62.648438 36.398438 54.347656 37.460938 Z M 54.347656 37.460938 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(99.215686%,47.843137%,100%);fill-opacity:1;" d="M 43.820312 82.15625 C 44.285156 82.398438 47.785156 88.484375 50.582031 89.515625 C 53.382812 90.542969 55.25 90.625 55.558594 91.097656 C 55.871094 91.570312 55.792969 93.945312 58.28125 94.972656 C 60.769531 96 72.433594 99.246094 75.777344 99.5625 C 79.121094 99.875 76.320312 101.855469 78.34375 102.566406 C 80.363281 103.277344 88.996094 103.675781 91.09375 102.804688 C 93.195312 101.933594 93.195312 103.59375 89.539062 105.019531 C 85.882812 106.441406 76.242188 109.84375 69.945312 109.054688 C 63.648438 108.261719 56.179688 106.917969 51.984375 103.914062 C 47.785156 100.90625 45.996094 99.5625 47.550781 99.324219 C 49.105469 99.085938 53.226562 103.515625 55.015625 103.992188 C 56.804688 104.464844 58.28125 104.464844 57.191406 103.359375 C 56.101562 102.25 49.027344 97.347656 48.328125 97.585938 C 47.628906 97.820312 46.148438 97.976562 44.90625 96.320312 C 43.664062 94.65625 37.132812 85.480469 37.519531 80.578125 C 37.910156 75.671875 39.152344 76.9375 40.632812 78.757812 C 42.109375 80.578125 43.820312 82.15625 43.820312 82.15625 Z M 43.820312 82.15625 "/>
|
||||
</g>
|
||||
</svg>
|
After (image error) Size: 35 KiB |
302
pkg/usr/share/icons/hicolor/scalable/apps/spark-store_16px.svg
Normal file
@ -0,0 +1,302 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" version="1.1">
|
||||
<defs>
|
||||
<clipPath id="clip1">
|
||||
<path d="M 16 3.199219 L 16 12.800781 C 16 13.648438 15.664062 14.460938 15.0625 15.0625 C 14.460938 15.664062 13.648438 16 12.800781 16 L 3.199219 16 C 2.351562 16 1.539062 15.664062 0.9375 15.0625 C 0.335938 14.460938 0 13.648438 0 12.800781 L 0 3.199219 C 0 1.433594 1.433594 0 3.199219 0 L 12.800781 0 C 13.648438 0 14.460938 0.335938 15.0625 0.9375 C 15.664062 1.539062 16 2.351562 16 3.199219 Z M 16 3.199219 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 16 3.199219 L 16 12.800781 C 16 13.648438 15.664062 14.460938 15.0625 15.0625 C 14.460938 15.664062 13.648438 16 12.800781 16 L 3.199219 16 C 2.351562 16 1.539062 15.664062 0.9375 15.0625 C 0.335938 14.460938 0 13.648438 0 12.800781 L 0 3.199219 C 0 1.433594 1.433594 0 3.199219 0 L 12.800781 0 C 13.648438 0 14.460938 0.335938 15.0625 0.9375 C 15.664062 1.539062 16 2.351562 16 3.199219 Z M 16 3.199219 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="256" y2="256" gradientTransform="matrix(0.0625,0,0,0.0625,0.000000192,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,100%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,100%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,99.607843%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,99.607843%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,99.607843%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,99.215686%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,99.215686%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,99.215686%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,98.823529%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,98.823529%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(100%,98.039216%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(100%,97.647059%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(100%,97.647059%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(100%,97.254902%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(100%,96.862745%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(100%,96.470588%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(100%,96.078431%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(100%,95.686275%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(100%,95.686275%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(100%,95.294118%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(100%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(99.607843%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(99.215686%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(98.823529%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(98.431373%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(98.431373%,94.509804%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(98.039216%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(97.647059%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(96.862745%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(96.470588%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(95.686275%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(95.294118%,94.509804%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(94.509804%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(94.117647%,94.117647%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(93.72549%,94.117647%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip3">
|
||||
<path d="M 16 3.199219 L 16 12.800781 C 16 13.648438 15.664062 14.460938 15.0625 15.0625 C 14.460938 15.664062 13.648438 16 12.800781 16 L 3.199219 16 C 2.351562 16 1.539062 15.664062 0.9375 15.0625 C 0.335938 14.460938 0 13.648438 0 12.800781 L 0 3.199219 C 0 1.433594 1.433594 0 3.199219 0 L 12.800781 0 C 13.648438 0 14.460938 0.335938 15.0625 0.9375 C 15.664062 1.539062 16 2.351562 16 3.199219 Z M 16 3.199219 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="213.329956" y2="213.329956" gradientTransform="matrix(2.343787,0,0,2.343787,0,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,91.764706%,56.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.00390625" style="stop-color:rgb(100%,91.764706%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0078125" style="stop-color:rgb(100%,91.372549%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0117188" style="stop-color:rgb(100%,91.372549%,57.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,91.372549%,57.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.0195312" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0234375" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0273438" style="stop-color:rgb(100%,90.980392%,58.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0351562" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0390625" style="stop-color:rgb(100%,90.588235%,59.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0429688" style="stop-color:rgb(100%,90.196078%,59.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0507812" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0546875" style="stop-color:rgb(100%,89.803922%,60.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.0585938" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0664062" style="stop-color:rgb(100%,89.411765%,61.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.0703125" style="stop-color:rgb(100%,89.411765%,61.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.0742188" style="stop-color:rgb(100%,89.411765%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,89.019608%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.0820312" style="stop-color:rgb(100%,89.019608%,62.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.0859375" style="stop-color:rgb(100%,89.019608%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.0898438" style="stop-color:rgb(100%,88.627451%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,88.627451%,63.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.0976562" style="stop-color:rgb(100%,88.235294%,63.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.101562" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.105469" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,87.843137%,64.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.113281" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.117188" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.121094" style="stop-color:rgb(100%,87.45098%,65.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,87.45098%,65.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.128906" style="stop-color:rgb(100%,87.45098%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.132812" style="stop-color:rgb(100%,87.058824%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.136719" style="stop-color:rgb(100%,87.058824%,66.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,87.058824%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.144531" style="stop-color:rgb(100%,86.666667%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.148438" style="stop-color:rgb(100%,86.666667%,67.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.152344" style="stop-color:rgb(100%,86.666667%,67.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.160156" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.164062" style="stop-color:rgb(100%,86.27451%,68.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.167969" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.175781" style="stop-color:rgb(100%,85.882353%,69.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.179688" style="stop-color:rgb(100%,85.490196%,69.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.183594" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.191406" style="stop-color:rgb(100%,85.098039%,70.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.195312" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.199219" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,84.705882%,70.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.207031" style="stop-color:rgb(100%,84.705882%,71.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.210938" style="stop-color:rgb(100%,84.705882%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.214844" style="stop-color:rgb(100%,84.313725%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,84.313725%,72.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.222656" style="stop-color:rgb(100%,84.313725%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.226562" style="stop-color:rgb(100%,83.921569%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.230469" style="stop-color:rgb(100%,83.921569%,72.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,83.921569%,73.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.238281" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.242188" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.246094" style="stop-color:rgb(100%,83.529412%,74.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,83.137255%,74.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.253906" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.257812" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.261719" style="stop-color:rgb(100%,82.745098%,75.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.269531" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.273438" style="stop-color:rgb(100%,82.352941%,76.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.277344" style="stop-color:rgb(100%,82.352941%,76.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.285156" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.289062" style="stop-color:rgb(100%,81.960784%,77.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.292969" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.300781" style="stop-color:rgb(100%,81.568627%,78.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.304688" style="stop-color:rgb(100%,81.176471%,78.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.308594" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.316406" style="stop-color:rgb(100%,80.784314%,79.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.320312" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.324219" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.328125" style="stop-color:rgb(100%,80.392157%,80%);stop-opacity:1;"/>
|
||||
<stop offset="0.332031" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.335938" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.339844" style="stop-color:rgb(99.607843%,80.392157%,80.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.347656" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.351562" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.355469" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.359375" style="stop-color:rgb(98.823529%,80.784314%,81.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.363281" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.367188" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.371094" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.378906" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.382812" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.386719" style="stop-color:rgb(98.039216%,80.784314%,83.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.390625" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.394531" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.398438" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.402344" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(97.254902%,81.176471%,84.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.410156" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.414062" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.417969" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.421875" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.425781" style="stop-color:rgb(96.470588%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.429688" style="stop-color:rgb(96.078431%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.433594" style="stop-color:rgb(96.078431%,81.176471%,86.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.441406" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.445312" style="stop-color:rgb(95.686275%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.449219" style="stop-color:rgb(95.294118%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.453125" style="stop-color:rgb(95.294118%,81.568627%,87.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.457031" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.460938" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.464844" style="stop-color:rgb(94.901961%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(94.509804%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.472656" style="stop-color:rgb(94.509804%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.476562" style="stop-color:rgb(94.117647%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.480469" style="stop-color:rgb(94.117647%,81.568627%,89.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.484375" style="stop-color:rgb(94.117647%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.488281" style="stop-color:rgb(93.72549%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.492188" style="stop-color:rgb(93.72549%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.496094" style="stop-color:rgb(93.333333%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(93.333333%,81.568627%,90.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.503906" style="stop-color:rgb(93.333333%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.507812" style="stop-color:rgb(92.941176%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.511719" style="stop-color:rgb(92.941176%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.515625" style="stop-color:rgb(92.54902%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.519531" style="stop-color:rgb(92.54902%,81.960784%,91.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.523437" style="stop-color:rgb(92.54902%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.527344" style="stop-color:rgb(92.156863%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(92.156863%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.535156" style="stop-color:rgb(91.764706%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.539062" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.542969" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.546875" style="stop-color:rgb(91.372549%,81.960784%,92.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.550781" style="stop-color:rgb(91.372549%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.554687" style="stop-color:rgb(90.980392%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.558594" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.566406" style="stop-color:rgb(90.588235%,82.352941%,94.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.570312" style="stop-color:rgb(90.588235%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.574219" style="stop-color:rgb(90.196078%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.578125" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.582031" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.585937" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.589844" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(89.411765%,82.352941%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.597656" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.601562" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.605469" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.609375" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.613281" style="stop-color:rgb(88.627451%,82.745098%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.617187" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.621094" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.628906" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.632812" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.636719" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.640625" style="stop-color:rgb(87.843137%,82.745098%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.644531" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.648437" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.652344" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.660156" style="stop-color:rgb(87.058824%,83.137255%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.664062" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.671875" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.679687" style="stop-color:rgb(86.27451%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(85.882353%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.695312" style="stop-color:rgb(85.490196%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(85.098039%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.710937" style="stop-color:rgb(84.705882%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(84.705882%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.726562" style="stop-color:rgb(84.313725%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(83.921569%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.742187" style="stop-color:rgb(83.529412%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(83.137255%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.757812" style="stop-color:rgb(82.745098%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(82.352941%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.773437" style="stop-color:rgb(81.960784%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.789062" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(81.176471%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.804687" style="stop-color:rgb(80.784314%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(80.392157%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.820312" style="stop-color:rgb(80%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(79.607843%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.835937" style="stop-color:rgb(79.215686%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(78.823529%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.851562" style="stop-color:rgb(78.431373%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.867187" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(77.647059%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.882812" style="stop-color:rgb(77.254902%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(76.862745%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.898437" style="stop-color:rgb(76.470588%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(76.078431%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.914062" style="stop-color:rgb(75.686275%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(75.294118%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.929687" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.945312" style="stop-color:rgb(74.509804%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(74.117647%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.960937" style="stop-color:rgb(73.72549%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(73.333333%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.976562" style="stop-color:rgb(72.941176%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(72.54902%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.992187" style="stop-color:rgb(72.156863%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(71.764706%,84.705882%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g clip-path="url(#clip1)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip2)" clip-rule="nonzero">
|
||||
<rect x="0" y="0" width="16" height="16" style="fill:url(#linear0);stroke:none;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g clip-path="url(#clip3)" clip-rule="nonzero">
|
||||
<path style="fill:none;stroke-width:60;stroke-linecap:butt;stroke-linejoin:miter;stroke:url(#linear1);stroke-miterlimit:4;" d="M 499.99997 99.975581 L 499.99997 400.024395 C 499.99997 426.513652 489.501924 452.026346 470.703097 470.703103 C 452.02634 489.50193 426.513646 499.999976 400.024389 499.999976 L 99.975575 499.999976 C 73.486319 499.999976 48.095695 489.50193 29.296868 470.703103 C 10.620111 452.026346 -0.000006 426.513652 -0.000006 400.024395 L -0.000006 99.975581 C -0.000006 44.799803 44.799797 0 99.975575 0 L 400.024389 0 C 426.513646 0 452.02634 10.620117 470.703097 29.296874 C 489.501924 48.095701 499.99997 73.486325 499.99997 99.975581 Z M 499.99997 99.975581 " transform="matrix(0.032,0,0,0.032,0.000000192,0)"/>
|
||||
</g>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,76.47059%,26.666668%);fill-opacity:1;" d="M 7.4375 2.101562 C 7.4375 2.101562 8.429688 2.089844 9.445312 2.71875 C 10.464844 3.347656 11.054688 3.949219 11.246094 4.339844 C 11.4375 4.734375 12.070312 5.417969 12.058594 6.675781 C 12.046875 7.933594 11.757812 8.773438 11.261719 9.472656 C 10.765625 10.171875 9.875 10.703125 8.800781 10.730469 C 7.726562 10.757812 7.039062 10.058594 6.808594 9.667969 C 6.574219 9.277344 6.476562 8.4375 6.765625 7.835938 C 7.054688 7.234375 7.507812 7.234375 7.660156 7.289062 C 7.8125 7.347656 7.851562 7.429688 7.933594 7.585938 C 8.015625 7.738281 8.070312 7.710938 8.195312 7.625 C 8.320312 7.542969 8.359375 7.445312 8.332031 7.320312 C 8.304688 7.195312 8.140625 7.039062 8.003906 6.996094 C 7.867188 6.953125 7.671875 6.828125 7.398438 6.871094 C 7.125 6.914062 6.585938 7.054688 6.132812 7.667969 C 5.679688 8.28125 5.734375 9.234375 6.007812 9.679688 C 6.285156 10.128906 6.808594 10.96875 7.960938 11.261719 C 9.117188 11.554688 10.984375 10.6875 11.632812 9.34375 C 12.277344 8.003906 12.292969 7.375 12.265625 6.269531 C 12.234375 5.164062 11.261719 3.515625 10.175781 2.914062 C 9.089844 2.3125 8.277344 1.960938 7.4375 2.101562 Z M 7.4375 2.101562 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(94.117647%,40.392157%,40.392157%);fill-opacity:1;" d="M 8.015625 7.6875 C 8.015625 7.6875 7.742188 7.429688 7.5 7.886719 C 7.257812 8.34375 7.140625 8.746094 7.382812 9.242188 C 7.625 9.734375 8.132812 10.03125 8.90625 10.023438 C 9.6875 10.011719 10.257812 9.824219 10.601562 9.261719 C 10.9375 8.695312 11.203125 8.28125 11.230469 8.074219 C 11.261719 7.867188 11.414062 8.105469 11.367188 8.28125 C 11.320312 8.460938 11.328125 8.804688 11.464844 8.738281 C 11.601562 8.667969 11.707031 8.558594 11.726562 8.609375 C 11.746094 8.65625 11.570312 8.964844 11.488281 9.117188 C 11.40625 9.273438 11.148438 9.640625 11 9.785156 C 10.847656 9.929688 10.640625 10.132812 10.390625 10.28125 C 10.140625 10.429688 9.757812 10.601562 9.546875 10.640625 C 9.332031 10.679688 8.902344 10.765625 8.660156 10.753906 C 8.417969 10.742188 8.105469 10.699219 7.761719 10.527344 C 7.414062 10.351562 7.042969 10.085938 6.898438 9.820312 C 6.75 9.554688 6.527344 9.3125 6.578125 8.640625 C 6.625 7.964844 6.84375 7.621094 7.007812 7.460938 C 7.171875 7.304688 7.414062 7.234375 7.578125 7.269531 C 7.738281 7.304688 7.839844 7.398438 7.878906 7.46875 C 7.917969 7.535156 7.980469 7.664062 8.015625 7.6875 Z M 8.015625 7.6875 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(24.705882%,38.431373%,92.156863%);fill-opacity:1;" d="M 10.484375 11.25 C 10.484375 11.25 11.648438 10.566406 12.195312 9.488281 C 12.738281 8.410156 12.96875 7.71875 12.902344 6.660156 C 12.835938 5.601562 12.671875 6.125 12.855469 5.671875 C 13.039062 5.21875 12.738281 4.316406 12.863281 4.257812 C 12.992188 4.199219 13.261719 4.652344 13.339844 5.019531 C 13.417969 5.382812 13.757812 6.511719 13.484375 7.945312 C 13.214844 9.378906 12.570312 9.953125 12.144531 10.339844 C 11.71875 10.726562 10.746094 11.398438 10.601562 11.386719 C 10.453125 11.375 10.433594 11.375 10.484375 11.25 Z M 10.484375 11.25 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(98.823529%,88.235295%,0.784314%);fill-opacity:1;" d="M 8.382812 9.171875 C 8.382812 9.171875 9.007812 9.3125 9.480469 9.015625 C 9.957031 8.71875 10.328125 8.234375 10.386719 8.046875 C 10.445312 7.859375 10.453125 8.210938 10.523438 8.035156 C 10.589844 7.859375 10.863281 7.5 10.726562 6.671875 C 10.589844 5.839844 10.578125 5.800781 10.328125 5.355469 C 10.074219 4.910156 9.472656 4.296875 9.101562 4.101562 C 8.734375 3.902344 8.21875 3.605469 7.507812 3.625 C 6.796875 3.644531 7.03125 3.59375 6.351562 3.714844 C 5.671875 3.832031 5.058594 4.160156 4.855469 4.335938 C 4.652344 4.515625 4.109375 5 3.914062 5.265625 C 3.71875 5.53125 3.183594 6.136719 2.902344 6.976562 C 2.617188 7.816406 2.503906 7.90625 2.484375 8.460938 C 2.464844 9.015625 2.53125 9.164062 2.414062 9.210938 C 2.296875 9.261719 2.320312 8.796875 2.328125 8.46875 C 2.335938 8.144531 2.335938 7.292969 2.765625 6.34375 C 3.195312 5.394531 3.953125 4.601562 4.378906 4.316406 C 4.804688 4.03125 5.304688 3.644531 6.070312 3.457031 C 6.835938 3.269531 7.605469 3.296875 8.082031 3.386719 C 8.558594 3.476562 9.296875 3.78125 9.695312 4.089844 C 10.09375 4.398438 10.53125 4.773438 10.863281 5.382812 C 11.191406 6 11.28125 6.78125 11.269531 7.105469 C 11.261719 7.429688 11.09375 8.183594 10.84375 8.546875 C 10.589844 8.914062 10.25 9.351562 9.898438 9.507812 C 9.550781 9.664062 9.121094 9.71875 8.773438 9.558594 C 8.421875 9.398438 8.441406 9.339844 8.382812 9.171875 Z M 8.382812 9.171875 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(36.862746%,85.09804%,21.960784%);fill-opacity:1;" d="M 8.382812 9.171875 C 8.382812 9.171875 8.875 9.3125 9.292969 9.125 C 9.707031 8.933594 9.863281 8.75 9.960938 8.644531 C 10.0625 8.535156 10.25 8.332031 10.304688 8.238281 C 10.351562 8.144531 10.40625 8.085938 10.40625 8.054688 C 10.40625 8.015625 10.3125 7.933594 10.40625 7.730469 C 10.5 7.527344 10.578125 7.0625 10.539062 6.851562 C 10.5 6.644531 10.402344 5.480469 9.578125 4.703125 C 8.75 3.929688 7.933594 3.835938 7.933594 3.835938 C 7.933594 3.835938 9.242188 4.25 9.851562 5.5 C 10.464844 6.75 10.265625 7.554688 9.875 8.046875 C 9.480469 8.535156 8.921875 8.59375 8.773438 8.464844 C 8.621094 8.339844 8.3125 9.039062 8.382812 9.171875 Z M 8.382812 9.171875 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(56.078434%,85.882354%,91.37255%);fill-opacity:1;" d="M 6.792969 4.683594 C 6.792969 4.683594 5.914062 4.675781 5.246094 5.117188 C 4.578125 5.554688 4.257812 5.914062 4.070312 6.195312 C 3.886719 6.472656 3.671875 6.859375 3.703125 6.851562 C 3.726562 6.84375 4.503906 5.757812 5.109375 5.480469 C 5.714844 5.199219 6.320312 4.808594 7.148438 5.09375 C 7.984375 5.382812 8.375 5.78125 8.554688 5.683594 C 8.730469 5.585938 8.765625 5.464844 8.664062 5.332031 C 8.558594 5.199219 7.832031 4.550781 6.792969 4.683594 Z M 6.792969 4.683594 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(99.215686%,47.843137%,100%);fill-opacity:1;" d="M 5.476562 10.269531 C 5.535156 10.300781 5.972656 11.0625 6.320312 11.1875 C 6.671875 11.320312 6.90625 11.328125 6.945312 11.386719 C 6.984375 11.445312 6.976562 11.742188 7.285156 11.871094 C 7.59375 12 9.054688 12.40625 9.472656 12.445312 C 9.890625 12.484375 9.539062 12.734375 9.792969 12.820312 C 10.046875 12.910156 11.125 12.960938 11.386719 12.851562 C 11.648438 12.742188 11.648438 12.949219 11.191406 13.125 C 10.734375 13.304688 9.53125 13.730469 8.742188 13.632812 C 7.957031 13.53125 7.023438 13.367188 6.5 12.988281 C 5.972656 12.613281 5.75 12.445312 5.945312 12.414062 C 6.140625 12.386719 6.652344 12.9375 6.875 13 C 7.101562 13.058594 7.285156 13.058594 7.148438 12.921875 C 7.011719 12.78125 6.128906 12.167969 6.039062 12.199219 C 5.953125 12.226562 5.769531 12.246094 5.613281 12.039062 C 5.457031 11.832031 4.640625 10.6875 4.6875 10.070312 C 4.738281 9.460938 4.894531 9.617188 5.078125 9.84375 C 5.265625 10.070312 5.476562 10.269531 5.476562 10.269531 Z M 5.476562 10.269531 "/>
|
||||
</g>
|
||||
</svg>
|
After (image error) Size: 34 KiB |
302
pkg/usr/share/icons/hicolor/scalable/apps/spark-store_256px.svg
Normal file
@ -0,0 +1,302 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="256px" height="256px" viewBox="0 0 256 256" version="1.1">
|
||||
<defs>
|
||||
<clipPath id="clip1">
|
||||
<path d="M 256 51.199219 L 256 204.800781 C 256 218.378906 250.605469 231.402344 241 241 C 231.402344 250.605469 218.378906 256 204.800781 256 L 51.199219 256 C 37.621094 256 24.597656 250.605469 15 241 C 5.394531 231.402344 0 218.378906 0 204.800781 L 0 51.199219 C 0 22.921875 22.921875 0 51.199219 0 L 204.800781 0 C 218.378906 0 231.402344 5.394531 241 15 C 250.605469 24.597656 256 37.621094 256 51.199219 Z M 256 51.199219 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 256 51.199219 L 256 204.800781 C 256 218.378906 250.605469 231.402344 241 241 C 231.402344 250.605469 218.378906 256 204.800781 256 L 51.199219 256 C 37.621094 256 24.597656 250.605469 15 241 C 5.394531 231.402344 0 218.378906 0 204.800781 L 0 51.199219 C 0 22.921875 22.921875 0 51.199219 0 L 204.800781 0 C 218.378906 0 231.402344 5.394531 241 15 C 250.605469 24.597656 256 37.621094 256 51.199219 Z M 256 51.199219 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="256" y2="256" gradientTransform="matrix(1,0,0,1,0.000003072,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,100%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,100%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,99.607843%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,99.607843%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,99.607843%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,99.215686%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,99.215686%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,99.215686%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,98.823529%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,98.823529%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(100%,98.039216%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(100%,97.647059%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(100%,97.647059%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(100%,97.254902%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(100%,96.862745%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(100%,96.470588%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(100%,96.078431%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(100%,95.686275%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(100%,95.686275%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(100%,95.294118%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(100%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(99.607843%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(99.215686%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(98.823529%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(98.431373%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(98.431373%,94.509804%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(98.039216%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(97.647059%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(96.862745%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(96.470588%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(95.686275%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(95.294118%,94.509804%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(94.509804%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(94.117647%,94.117647%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(93.72549%,94.117647%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip3">
|
||||
<path d="M 256 51.199219 L 256 204.800781 C 256 218.378906 250.605469 231.402344 241 241 C 231.402344 250.605469 218.378906 256 204.800781 256 L 51.199219 256 C 37.621094 256 24.597656 250.605469 15 241 C 5.394531 231.402344 0 218.378906 0 204.800781 L 0 51.199219 C 0 22.921875 22.921875 0 51.199219 0 L 204.800781 0 C 218.378906 0 231.402344 5.394531 241 15 C 250.605469 24.597656 256 37.621094 256 51.199219 Z M 256 51.199219 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="213.329956" y2="213.329956" gradientTransform="matrix(2.343787,0,0,2.343787,0,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,91.764706%,56.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.00390625" style="stop-color:rgb(100%,91.764706%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0078125" style="stop-color:rgb(100%,91.372549%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0117188" style="stop-color:rgb(100%,91.372549%,57.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,91.372549%,57.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.0195312" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0234375" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0273438" style="stop-color:rgb(100%,90.980392%,58.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0351562" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0390625" style="stop-color:rgb(100%,90.588235%,59.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0429688" style="stop-color:rgb(100%,90.196078%,59.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0507812" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0546875" style="stop-color:rgb(100%,89.803922%,60.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.0585938" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0664062" style="stop-color:rgb(100%,89.411765%,61.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.0703125" style="stop-color:rgb(100%,89.411765%,61.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.0742188" style="stop-color:rgb(100%,89.411765%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,89.019608%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.0820312" style="stop-color:rgb(100%,89.019608%,62.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.0859375" style="stop-color:rgb(100%,89.019608%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.0898438" style="stop-color:rgb(100%,88.627451%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,88.627451%,63.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.0976562" style="stop-color:rgb(100%,88.235294%,63.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.101562" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.105469" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,87.843137%,64.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.113281" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.117188" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.121094" style="stop-color:rgb(100%,87.45098%,65.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,87.45098%,65.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.128906" style="stop-color:rgb(100%,87.45098%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.132812" style="stop-color:rgb(100%,87.058824%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.136719" style="stop-color:rgb(100%,87.058824%,66.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,87.058824%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.144531" style="stop-color:rgb(100%,86.666667%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.148438" style="stop-color:rgb(100%,86.666667%,67.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.152344" style="stop-color:rgb(100%,86.666667%,67.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.160156" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.164062" style="stop-color:rgb(100%,86.27451%,68.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.167969" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.175781" style="stop-color:rgb(100%,85.882353%,69.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.179688" style="stop-color:rgb(100%,85.490196%,69.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.183594" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.191406" style="stop-color:rgb(100%,85.098039%,70.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.195312" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.199219" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,84.705882%,70.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.207031" style="stop-color:rgb(100%,84.705882%,71.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.210938" style="stop-color:rgb(100%,84.705882%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.214844" style="stop-color:rgb(100%,84.313725%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,84.313725%,72.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.222656" style="stop-color:rgb(100%,84.313725%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.226562" style="stop-color:rgb(100%,83.921569%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.230469" style="stop-color:rgb(100%,83.921569%,72.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,83.921569%,73.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.238281" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.242188" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.246094" style="stop-color:rgb(100%,83.529412%,74.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,83.137255%,74.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.253906" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.257812" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.261719" style="stop-color:rgb(100%,82.745098%,75.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.269531" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.273438" style="stop-color:rgb(100%,82.352941%,76.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.277344" style="stop-color:rgb(100%,82.352941%,76.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.285156" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.289062" style="stop-color:rgb(100%,81.960784%,77.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.292969" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.300781" style="stop-color:rgb(100%,81.568627%,78.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.304688" style="stop-color:rgb(100%,81.176471%,78.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.308594" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.316406" style="stop-color:rgb(100%,80.784314%,79.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.320312" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.324219" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.328125" style="stop-color:rgb(100%,80.392157%,80%);stop-opacity:1;"/>
|
||||
<stop offset="0.332031" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.335938" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.339844" style="stop-color:rgb(99.607843%,80.392157%,80.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.347656" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.351562" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.355469" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.359375" style="stop-color:rgb(98.823529%,80.784314%,81.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.363281" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.367188" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.371094" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.378906" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.382812" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.386719" style="stop-color:rgb(98.039216%,80.784314%,83.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.390625" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.394531" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.398438" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.402344" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(97.254902%,81.176471%,84.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.410156" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.414062" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.417969" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.421875" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.425781" style="stop-color:rgb(96.470588%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.429688" style="stop-color:rgb(96.078431%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.433594" style="stop-color:rgb(96.078431%,81.176471%,86.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.441406" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.445312" style="stop-color:rgb(95.686275%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.449219" style="stop-color:rgb(95.294118%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.453125" style="stop-color:rgb(95.294118%,81.568627%,87.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.457031" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.460938" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.464844" style="stop-color:rgb(94.901961%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(94.509804%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.472656" style="stop-color:rgb(94.509804%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.476562" style="stop-color:rgb(94.117647%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.480469" style="stop-color:rgb(94.117647%,81.568627%,89.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.484375" style="stop-color:rgb(94.117647%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.488281" style="stop-color:rgb(93.72549%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.492188" style="stop-color:rgb(93.72549%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.496094" style="stop-color:rgb(93.333333%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(93.333333%,81.568627%,90.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.503906" style="stop-color:rgb(93.333333%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.507812" style="stop-color:rgb(92.941176%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.511719" style="stop-color:rgb(92.941176%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.515625" style="stop-color:rgb(92.54902%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.519531" style="stop-color:rgb(92.54902%,81.960784%,91.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.523437" style="stop-color:rgb(92.54902%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.527344" style="stop-color:rgb(92.156863%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(92.156863%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.535156" style="stop-color:rgb(91.764706%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.539062" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.542969" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.546875" style="stop-color:rgb(91.372549%,81.960784%,92.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.550781" style="stop-color:rgb(91.372549%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.554687" style="stop-color:rgb(90.980392%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.558594" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.566406" style="stop-color:rgb(90.588235%,82.352941%,94.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.570312" style="stop-color:rgb(90.588235%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.574219" style="stop-color:rgb(90.196078%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.578125" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.582031" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.585937" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.589844" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(89.411765%,82.352941%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.597656" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.601562" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.605469" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.609375" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.613281" style="stop-color:rgb(88.627451%,82.745098%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.617187" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.621094" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.628906" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.632812" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.636719" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.640625" style="stop-color:rgb(87.843137%,82.745098%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.644531" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.648437" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.652344" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.660156" style="stop-color:rgb(87.058824%,83.137255%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.664062" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.671875" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.679687" style="stop-color:rgb(86.27451%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(85.882353%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.695312" style="stop-color:rgb(85.490196%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(85.098039%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.710937" style="stop-color:rgb(84.705882%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(84.705882%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.726562" style="stop-color:rgb(84.313725%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(83.921569%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.742187" style="stop-color:rgb(83.529412%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(83.137255%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.757812" style="stop-color:rgb(82.745098%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(82.352941%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.773437" style="stop-color:rgb(81.960784%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.789062" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(81.176471%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.804687" style="stop-color:rgb(80.784314%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(80.392157%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.820312" style="stop-color:rgb(80%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(79.607843%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.835937" style="stop-color:rgb(79.215686%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(78.823529%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.851562" style="stop-color:rgb(78.431373%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.867187" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(77.647059%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.882812" style="stop-color:rgb(77.254902%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(76.862745%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.898437" style="stop-color:rgb(76.470588%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(76.078431%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.914062" style="stop-color:rgb(75.686275%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(75.294118%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.929687" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.945312" style="stop-color:rgb(74.509804%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(74.117647%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.960937" style="stop-color:rgb(73.72549%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(73.333333%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.976562" style="stop-color:rgb(72.941176%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(72.54902%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.992187" style="stop-color:rgb(72.156863%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(71.764706%,84.705882%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g clip-path="url(#clip1)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip2)" clip-rule="nonzero">
|
||||
<rect x="0" y="0" width="256" height="256" style="fill:url(#linear0);stroke:none;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g clip-path="url(#clip3)" clip-rule="nonzero">
|
||||
<path style="fill:none;stroke-width:60;stroke-linecap:butt;stroke-linejoin:miter;stroke:url(#linear1);stroke-miterlimit:4;" d="M 499.99997 99.998469 L 499.99997 400.001507 C 499.99997 426.521281 489.463777 451.957681 470.710726 470.710732 C 451.957675 489.463783 426.521275 499.999976 400.001501 499.999976 L 99.998463 499.999976 C 73.478689 499.999976 48.042289 489.463783 29.296868 470.710732 C 10.536187 451.957681 -0.000006 426.521281 -0.000006 400.001507 L -0.000006 99.998469 C -0.000006 44.769285 44.769279 0 99.998463 0 L 400.001501 0 C 426.521275 0 451.957675 10.536193 470.710726 29.296874 C 489.463777 48.042295 499.99997 73.478695 499.99997 99.998469 Z M 499.99997 99.998469 " transform="matrix(0.512,0,0,0.512,0.000003072,0)"/>
|
||||
</g>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,76.47059%,26.666668%);fill-opacity:1;" d="M 119.03125 33.648438 C 119.03125 33.648438 134.867188 33.421875 151.144531 43.492188 C 167.417969 53.5625 176.875 63.179688 179.953125 69.445312 C 183.03125 75.710938 193.148438 86.671875 192.929688 106.808594 C 192.710938 126.945312 188.089844 140.371094 180.171875 151.554688 C 172.257812 162.742188 157.960938 171.246094 140.804688 171.695312 C 123.648438 172.140625 112.65625 160.953125 108.917969 154.6875 C 105.179688 148.421875 103.636719 135 108.257812 125.378906 C 112.875 115.757812 120.132812 115.757812 122.554688 116.65625 C 124.96875 117.546875 125.632812 118.890625 126.949219 121.351562 C 128.269531 123.8125 129.148438 123.367188 131.128906 122.023438 C 133.109375 120.679688 133.765625 119.117188 133.328125 117.101562 C 132.890625 115.085938 130.25 112.625 128.050781 111.953125 C 125.851562 111.28125 122.773438 109.269531 118.375 109.941406 C 113.976562 110.613281 105.398438 112.851562 98.140625 122.695312 C 90.882812 132.539062 91.761719 147.75 96.160156 154.914062 C 100.5625 162.070312 108.917969 175.496094 127.390625 180.195312 C 145.863281 184.890625 175.773438 171.023438 186.109375 149.539062 C 196.445312 128.0625 196.671875 117.992188 196.226562 100.320312 C 195.789062 82.644531 180.171875 56.246094 162.800781 46.625 C 145.421875 37 132.445312 31.410156 119.03125 33.648438 Z M 119.03125 33.648438 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(94.117647%,40.392157%,40.392157%);fill-opacity:1;" d="M 128.226562 123.027344 C 128.226562 123.027344 123.871094 118.914062 119.984375 126.1875 C 116.09375 133.46875 114.226562 139.953125 118.117188 147.863281 C 122.007812 155.773438 130.089844 160.519531 142.53125 160.363281 C 154.972656 160.203125 164.148438 157.195312 169.59375 148.179688 C 175.035156 139.164062 179.234375 132.515625 179.703125 129.195312 C 180.167969 125.875 182.65625 129.671875 181.875 132.515625 C 181.101562 135.367188 181.257812 140.90625 183.429688 139.796875 C 185.609375 138.6875 187.320312 136.945312 187.632812 137.738281 C 187.941406 138.53125 185.144531 143.4375 183.820312 145.882812 C 182.5 148.335938 178.378906 154.273438 175.96875 156.5625 C 173.554688 158.859375 170.210938 162.101562 166.25 164.476562 C 162.28125 166.847656 156.140625 169.617188 152.71875 170.25 C 149.296875 170.882812 142.453125 172.226562 138.570312 172.070312 C 134.679688 171.914062 129.703125 171.199219 124.179688 168.429688 C 118.664062 165.664062 112.671875 161.390625 110.34375 157.117188 C 108.007812 152.847656 104.429688 148.96875 105.210938 138.210938 C 105.984375 127.453125 109.484375 121.917969 112.132812 119.386719 C 114.773438 116.855469 118.664062 115.75 121.226562 116.300781 C 123.792969 116.855469 125.425781 118.359375 126.046875 119.46875 C 126.671875 120.574219 127.679688 122.628906 128.226562 123.027344 Z M 128.226562 123.027344 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(24.705882%,38.431373%,92.156863%);fill-opacity:1;" d="M 167.726562 179.976562 C 167.726562 179.976562 186.386719 169.0625 195.09375 151.820312 C 203.804688 134.578125 207.535156 123.5 206.445312 106.574219 C 205.359375 89.644531 202.71875 98.03125 205.671875 90.75 C 208.625 83.476562 203.804688 69.078125 205.828125 68.128906 C 207.847656 67.179688 212.203125 74.453125 213.445312 80.308594 C 214.691406 86.164062 220.132812 104.199219 215.78125 127.140625 C 211.421875 150.078125 201.160156 159.257812 194.316406 165.421875 C 187.476562 171.59375 171.925781 182.351562 169.59375 182.195312 C 167.257812 182.039062 166.949219 182.039062 167.726562 179.976562 Z M 167.726562 179.976562 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(98.823529%,88.235295%,0.784314%);fill-opacity:1;" d="M 134.136719 146.757812 C 134.136719 146.757812 144.085938 148.96875 151.707031 144.226562 C 159.328125 139.480469 165.238281 131.726562 166.171875 128.71875 C 167.101562 125.714844 167.257812 131.410156 168.34375 128.5625 C 169.4375 125.714844 173.792969 120.023438 171.613281 106.730469 C 169.4375 93.445312 169.28125 92.808594 165.238281 85.691406 C 161.195312 78.570312 151.554688 68.761719 145.640625 65.597656 C 139.734375 62.4375 131.492188 57.6875 120.140625 58 C 108.789062 58.320312 112.515625 57.527344 101.632812 59.425781 C 90.746094 61.328125 80.949219 66.546875 77.683594 69.394531 C 74.417969 72.242188 65.710938 79.992188 62.601562 84.265625 C 59.488281 88.535156 50.9375 98.1875 46.425781 111.632812 C 41.914062 125.082031 40.046875 126.507812 39.738281 135.367188 C 39.425781 144.226562 40.515625 146.597656 38.648438 147.390625 C 36.78125 148.179688 37.09375 140.742188 37.25 135.523438 C 37.40625 130.304688 37.40625 116.699219 44.25 101.507812 C 51.089844 86.320312 63.21875 73.664062 70.0625 69.078125 C 76.90625 64.492188 84.835938 58.320312 97.125 55.3125 C 109.40625 52.308594 121.695312 52.78125 129.3125 54.207031 C 136.933594 55.628906 148.75 60.535156 155.128906 65.4375 C 161.503906 70.34375 168.503906 76.355469 173.792969 86.164062 C 179.078125 95.972656 180.476562 108.472656 180.320312 113.691406 C 180.167969 118.914062 177.523438 130.9375 173.480469 136.789062 C 169.4375 142.640625 163.992188 149.605469 158.394531 152.136719 C 152.796875 154.664062 145.953125 155.460938 140.355469 152.929688 C 134.757812 150.394531 135.070312 149.445312 134.136719 146.757812 Z M 134.136719 146.757812 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(36.862746%,85.09804%,21.960784%);fill-opacity:1;" d="M 134.136719 146.757812 C 134.136719 146.757812 142.015625 148.984375 148.671875 145.960938 C 155.320312 142.941406 157.796875 140.035156 159.390625 138.296875 C 160.984375 136.5625 164.007812 133.320312 164.835938 131.8125 C 165.65625 130.300781 166.539062 129.40625 166.539062 128.847656 C 166.539062 128.289062 165 126.945312 166.484375 123.703125 C 167.96875 120.453125 169.289062 113.019531 168.625 109.664062 C 167.96875 106.304688 166.425781 87.679688 153.234375 75.261719 C 140.039062 62.84375 126.953125 61.390625 126.953125 61.390625 C 126.953125 61.390625 147.84375 67.992188 157.632812 88.015625 C 167.417969 108.039062 164.226562 120.90625 157.960938 128.734375 C 151.695312 136.5625 142.789062 137.460938 140.367188 135.445312 C 137.945312 133.4375 132.960938 144.640625 134.136719 146.757812 Z M 134.136719 146.757812 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(56.078434%,85.882354%,91.37255%);fill-opacity:1;" d="M 108.695312 74.925781 C 108.695312 74.925781 94.621094 74.816406 83.953125 81.859375 C 73.289062 88.910156 68.117188 94.617188 65.148438 99.089844 C 62.179688 103.5625 58.773438 109.71875 59.210938 109.605469 C 59.65625 109.492188 72.078125 92.15625 81.753906 87.679688 C 91.429688 83.203125 101.109375 76.941406 114.414062 81.527344 C 127.71875 86.117188 133.992188 92.492188 136.847656 90.921875 C 139.707031 89.359375 140.257812 87.453125 138.609375 85.328125 C 136.957031 83.203125 125.300781 72.800781 108.695312 74.925781 Z M 108.695312 74.925781 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(99.215686%,47.843137%,100%);fill-opacity:1;" d="M 87.636719 164.316406 C 88.570312 164.792969 95.570312 176.972656 101.164062 179.03125 C 106.765625 181.085938 110.496094 181.246094 111.117188 182.195312 C 111.742188 183.144531 111.585938 187.890625 116.5625 189.945312 C 121.539062 192 144.867188 198.492188 151.554688 199.125 C 158.242188 199.753906 152.640625 203.710938 156.6875 205.132812 C 160.726562 206.554688 177.992188 207.351562 182.1875 205.609375 C 186.386719 203.867188 186.386719 207.191406 179.078125 210.039062 C 171.765625 212.882812 152.484375 219.6875 139.890625 218.109375 C 127.292969 216.523438 112.363281 213.835938 103.964844 207.824219 C 95.570312 201.8125 91.992188 199.125 95.101562 198.648438 C 98.210938 198.171875 106.453125 207.03125 110.03125 207.980469 C 113.609375 208.929688 116.5625 208.929688 114.382812 206.71875 C 112.207031 204.5 98.054688 194.695312 96.65625 195.167969 C 95.257812 195.640625 92.300781 195.957031 89.8125 192.636719 C 87.328125 189.3125 74.261719 170.960938 75.039062 161.15625 C 75.820312 151.34375 78.304688 153.875 81.261719 157.515625 C 84.21875 161.15625 87.636719 164.316406 87.636719 164.316406 Z M 87.636719 164.316406 "/>
|
||||
</g>
|
||||
</svg>
|
After (image error) Size: 36 KiB |
302
pkg/usr/share/icons/hicolor/scalable/apps/spark-store_32px.svg
Normal file
@ -0,0 +1,302 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32px" height="32px" viewBox="0 0 32 32" version="1.1">
|
||||
<defs>
|
||||
<clipPath id="clip1">
|
||||
<path d="M 32 6.398438 L 32 25.601562 C 32 27.296875 31.328125 28.925781 30.125 30.125 C 28.925781 31.328125 27.296875 32 25.601562 32 L 6.398438 32 C 4.703125 32 3.074219 31.328125 1.875 30.125 C 0.671875 28.925781 0 27.296875 0 25.601562 L 0 6.398438 C 0 2.867188 2.867188 0 6.398438 0 L 25.601562 0 C 27.296875 0 28.925781 0.671875 30.125 1.875 C 31.328125 3.074219 32 4.703125 32 6.398438 Z M 32 6.398438 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 32 6.398438 L 32 25.601562 C 32 27.296875 31.328125 28.925781 30.125 30.125 C 28.925781 31.328125 27.296875 32 25.601562 32 L 6.398438 32 C 4.703125 32 3.074219 31.328125 1.875 30.125 C 0.671875 28.925781 0 27.296875 0 25.601562 L 0 6.398438 C 0 2.867188 2.867188 0 6.398438 0 L 25.601562 0 C 27.296875 0 28.925781 0.671875 30.125 1.875 C 31.328125 3.074219 32 4.703125 32 6.398438 Z M 32 6.398438 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="256" y2="256" gradientTransform="matrix(0.125,0,0,0.125,0.000000384,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,100%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,100%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,99.607843%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,99.607843%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,99.607843%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,99.215686%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,99.215686%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,99.215686%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,98.823529%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,98.823529%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(100%,98.039216%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(100%,97.647059%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(100%,97.647059%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(100%,97.254902%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(100%,96.862745%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(100%,96.470588%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(100%,96.078431%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(100%,95.686275%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(100%,95.686275%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(100%,95.294118%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(100%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(99.607843%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(99.215686%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(98.823529%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(98.431373%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(98.431373%,94.509804%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(98.039216%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(97.647059%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(96.862745%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(96.470588%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(95.686275%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(95.294118%,94.509804%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(94.509804%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(94.117647%,94.117647%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(93.72549%,94.117647%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip3">
|
||||
<path d="M 32 6.398438 L 32 25.601562 C 32 27.296875 31.328125 28.925781 30.125 30.125 C 28.925781 31.328125 27.296875 32 25.601562 32 L 6.398438 32 C 4.703125 32 3.074219 31.328125 1.875 30.125 C 0.671875 28.925781 0 27.296875 0 25.601562 L 0 6.398438 C 0 2.867188 2.867188 0 6.398438 0 L 25.601562 0 C 27.296875 0 28.925781 0.671875 30.125 1.875 C 31.328125 3.074219 32 4.703125 32 6.398438 Z M 32 6.398438 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="213.329956" y2="213.329956" gradientTransform="matrix(2.343787,0,0,2.343787,0,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,91.764706%,56.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.00390625" style="stop-color:rgb(100%,91.764706%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0078125" style="stop-color:rgb(100%,91.372549%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0117188" style="stop-color:rgb(100%,91.372549%,57.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,91.372549%,57.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.0195312" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0234375" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0273438" style="stop-color:rgb(100%,90.980392%,58.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0351562" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0390625" style="stop-color:rgb(100%,90.588235%,59.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0429688" style="stop-color:rgb(100%,90.196078%,59.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0507812" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0546875" style="stop-color:rgb(100%,89.803922%,60.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.0585938" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0664062" style="stop-color:rgb(100%,89.411765%,61.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.0703125" style="stop-color:rgb(100%,89.411765%,61.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.0742188" style="stop-color:rgb(100%,89.411765%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,89.019608%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.0820312" style="stop-color:rgb(100%,89.019608%,62.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.0859375" style="stop-color:rgb(100%,89.019608%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.0898438" style="stop-color:rgb(100%,88.627451%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,88.627451%,63.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.0976562" style="stop-color:rgb(100%,88.235294%,63.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.101562" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.105469" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,87.843137%,64.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.113281" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.117188" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.121094" style="stop-color:rgb(100%,87.45098%,65.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,87.45098%,65.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.128906" style="stop-color:rgb(100%,87.45098%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.132812" style="stop-color:rgb(100%,87.058824%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.136719" style="stop-color:rgb(100%,87.058824%,66.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,87.058824%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.144531" style="stop-color:rgb(100%,86.666667%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.148438" style="stop-color:rgb(100%,86.666667%,67.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.152344" style="stop-color:rgb(100%,86.666667%,67.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.160156" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.164062" style="stop-color:rgb(100%,86.27451%,68.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.167969" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.175781" style="stop-color:rgb(100%,85.882353%,69.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.179688" style="stop-color:rgb(100%,85.490196%,69.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.183594" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.191406" style="stop-color:rgb(100%,85.098039%,70.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.195312" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.199219" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,84.705882%,70.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.207031" style="stop-color:rgb(100%,84.705882%,71.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.210938" style="stop-color:rgb(100%,84.705882%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.214844" style="stop-color:rgb(100%,84.313725%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,84.313725%,72.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.222656" style="stop-color:rgb(100%,84.313725%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.226562" style="stop-color:rgb(100%,83.921569%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.230469" style="stop-color:rgb(100%,83.921569%,72.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,83.921569%,73.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.238281" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.242188" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.246094" style="stop-color:rgb(100%,83.529412%,74.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,83.137255%,74.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.253906" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.257812" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.261719" style="stop-color:rgb(100%,82.745098%,75.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.269531" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.273438" style="stop-color:rgb(100%,82.352941%,76.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.277344" style="stop-color:rgb(100%,82.352941%,76.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.285156" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.289062" style="stop-color:rgb(100%,81.960784%,77.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.292969" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.300781" style="stop-color:rgb(100%,81.568627%,78.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.304688" style="stop-color:rgb(100%,81.176471%,78.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.308594" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.316406" style="stop-color:rgb(100%,80.784314%,79.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.320312" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.324219" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.328125" style="stop-color:rgb(100%,80.392157%,80%);stop-opacity:1;"/>
|
||||
<stop offset="0.332031" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.335938" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.339844" style="stop-color:rgb(99.607843%,80.392157%,80.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.347656" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.351562" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.355469" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.359375" style="stop-color:rgb(98.823529%,80.784314%,81.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.363281" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.367188" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.371094" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.378906" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.382812" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.386719" style="stop-color:rgb(98.039216%,80.784314%,83.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.390625" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.394531" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.398438" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.402344" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(97.254902%,81.176471%,84.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.410156" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.414062" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.417969" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.421875" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.425781" style="stop-color:rgb(96.470588%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.429688" style="stop-color:rgb(96.078431%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.433594" style="stop-color:rgb(96.078431%,81.176471%,86.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.441406" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.445312" style="stop-color:rgb(95.686275%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.449219" style="stop-color:rgb(95.294118%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.453125" style="stop-color:rgb(95.294118%,81.568627%,87.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.457031" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.460938" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.464844" style="stop-color:rgb(94.901961%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(94.509804%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.472656" style="stop-color:rgb(94.509804%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.476562" style="stop-color:rgb(94.117647%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.480469" style="stop-color:rgb(94.117647%,81.568627%,89.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.484375" style="stop-color:rgb(94.117647%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.488281" style="stop-color:rgb(93.72549%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.492188" style="stop-color:rgb(93.72549%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.496094" style="stop-color:rgb(93.333333%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(93.333333%,81.568627%,90.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.503906" style="stop-color:rgb(93.333333%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.507812" style="stop-color:rgb(92.941176%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.511719" style="stop-color:rgb(92.941176%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.515625" style="stop-color:rgb(92.54902%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.519531" style="stop-color:rgb(92.54902%,81.960784%,91.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.523437" style="stop-color:rgb(92.54902%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.527344" style="stop-color:rgb(92.156863%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(92.156863%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.535156" style="stop-color:rgb(91.764706%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.539062" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.542969" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.546875" style="stop-color:rgb(91.372549%,81.960784%,92.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.550781" style="stop-color:rgb(91.372549%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.554687" style="stop-color:rgb(90.980392%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.558594" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.566406" style="stop-color:rgb(90.588235%,82.352941%,94.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.570312" style="stop-color:rgb(90.588235%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.574219" style="stop-color:rgb(90.196078%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.578125" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.582031" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.585937" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.589844" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(89.411765%,82.352941%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.597656" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.601562" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.605469" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.609375" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.613281" style="stop-color:rgb(88.627451%,82.745098%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.617187" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.621094" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.628906" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.632812" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.636719" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.640625" style="stop-color:rgb(87.843137%,82.745098%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.644531" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.648437" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.652344" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.660156" style="stop-color:rgb(87.058824%,83.137255%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.664062" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.671875" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.679687" style="stop-color:rgb(86.27451%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(85.882353%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.695312" style="stop-color:rgb(85.490196%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(85.098039%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.710937" style="stop-color:rgb(84.705882%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(84.705882%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.726562" style="stop-color:rgb(84.313725%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(83.921569%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.742187" style="stop-color:rgb(83.529412%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(83.137255%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.757812" style="stop-color:rgb(82.745098%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(82.352941%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.773437" style="stop-color:rgb(81.960784%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.789062" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(81.176471%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.804687" style="stop-color:rgb(80.784314%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(80.392157%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.820312" style="stop-color:rgb(80%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(79.607843%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.835937" style="stop-color:rgb(79.215686%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(78.823529%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.851562" style="stop-color:rgb(78.431373%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.867187" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(77.647059%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.882812" style="stop-color:rgb(77.254902%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(76.862745%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.898437" style="stop-color:rgb(76.470588%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(76.078431%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.914062" style="stop-color:rgb(75.686275%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(75.294118%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.929687" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.945312" style="stop-color:rgb(74.509804%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(74.117647%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.960937" style="stop-color:rgb(73.72549%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(73.333333%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.976562" style="stop-color:rgb(72.941176%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(72.54902%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.992187" style="stop-color:rgb(72.156863%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(71.764706%,84.705882%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g clip-path="url(#clip1)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip2)" clip-rule="nonzero">
|
||||
<rect x="0" y="0" width="32" height="32" style="fill:url(#linear0);stroke:none;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g clip-path="url(#clip3)" clip-rule="nonzero">
|
||||
<path style="fill:none;stroke-width:60;stroke-linecap:butt;stroke-linejoin:miter;stroke:url(#linear1);stroke-miterlimit:4;" d="M 499.99997 100.036616 L 499.99997 399.96336 C 499.99997 426.513652 489.440889 451.965311 470.703097 470.703103 C 451.965305 489.440895 426.513646 499.999976 399.963354 499.999976 L 100.03661 499.999976 C 73.486319 499.999976 48.03466 489.440895 29.296868 470.703103 C 10.559076 451.965311 -0.000006 426.513652 -0.000006 399.96336 L -0.000006 100.036616 C -0.000006 44.799803 44.799797 0 100.03661 0 L 399.963354 0 C 426.513646 0 451.965305 10.559082 470.703097 29.296874 C 489.440889 48.034666 499.99997 73.486325 499.99997 100.036616 Z M 499.99997 100.036616 " transform="matrix(0.064,0,0,0.064,0.000000384,0)"/>
|
||||
</g>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,76.47059%,26.666668%);fill-opacity:1;" d="M 14.878906 4.207031 C 14.878906 4.207031 16.859375 4.179688 18.890625 5.4375 C 20.929688 6.695312 22.109375 7.898438 22.492188 8.679688 C 22.878906 9.464844 24.144531 10.835938 24.117188 13.351562 C 24.089844 15.867188 23.511719 17.546875 22.523438 18.945312 C 21.53125 20.34375 19.746094 21.40625 17.601562 21.460938 C 15.457031 21.515625 14.082031 20.117188 13.617188 19.335938 C 13.148438 18.554688 12.953125 16.875 13.53125 15.671875 C 14.109375 14.46875 15.015625 14.46875 15.320312 14.582031 C 15.621094 14.695312 15.703125 14.859375 15.867188 15.167969 C 16.03125 15.476562 16.144531 15.421875 16.390625 15.253906 C 16.640625 15.085938 16.71875 14.890625 16.664062 14.636719 C 16.609375 14.386719 16.28125 14.078125 16.007812 13.992188 C 15.730469 13.910156 15.347656 13.65625 14.796875 13.742188 C 14.246094 13.828125 13.175781 14.105469 12.265625 15.335938 C 11.359375 16.566406 11.46875 18.46875 12.019531 19.363281 C 12.570312 20.257812 13.617188 21.9375 15.921875 22.523438 C 18.234375 23.109375 21.972656 21.378906 23.265625 18.691406 C 24.554688 16.007812 24.585938 14.75 24.527344 12.539062 C 24.472656 10.328125 22.523438 7.03125 20.351562 5.828125 C 18.179688 4.625 16.554688 3.925781 14.878906 4.207031 Z M 14.878906 4.207031 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(94.117647%,40.392157%,40.392157%);fill-opacity:1;" d="M 16.027344 15.378906 C 16.027344 15.378906 15.484375 14.863281 15 15.773438 C 14.511719 16.683594 14.277344 17.492188 14.765625 18.484375 C 15.25 19.472656 16.261719 20.0625 17.816406 20.046875 C 19.371094 20.023438 20.519531 19.648438 21.199219 18.523438 C 21.878906 17.394531 22.40625 16.5625 22.460938 16.148438 C 22.523438 15.734375 22.832031 16.210938 22.734375 16.5625 C 22.636719 16.921875 22.65625 17.613281 22.929688 17.476562 C 23.203125 17.335938 23.414062 17.117188 23.453125 17.21875 C 23.492188 17.316406 23.140625 17.929688 22.976562 18.234375 C 22.8125 18.542969 22.296875 19.285156 21.996094 19.570312 C 21.695312 19.859375 21.277344 20.261719 20.78125 20.558594 C 20.285156 20.855469 19.515625 21.203125 19.089844 21.28125 C 18.664062 21.359375 17.804688 21.527344 17.320312 21.507812 C 16.835938 21.488281 16.210938 21.398438 15.523438 21.054688 C 14.832031 20.707031 14.085938 20.171875 13.792969 19.640625 C 13.5 19.105469 13.054688 18.621094 13.152344 17.277344 C 13.25 15.929688 13.6875 15.242188 14.015625 14.921875 C 14.347656 14.609375 14.832031 14.46875 15.152344 14.539062 C 15.476562 14.609375 15.679688 14.796875 15.757812 14.933594 C 15.835938 15.070312 15.960938 15.328125 16.027344 15.378906 Z M 16.027344 15.378906 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(24.705882%,38.431373%,92.156863%);fill-opacity:1;" d="M 20.964844 22.496094 C 20.964844 22.496094 23.296875 21.132812 24.386719 18.976562 C 25.476562 16.820312 25.941406 15.4375 25.804688 13.320312 C 25.671875 11.203125 25.339844 12.253906 25.710938 11.34375 C 26.078125 10.433594 25.476562 8.632812 25.726562 8.515625 C 25.980469 8.398438 26.523438 9.304688 26.679688 10.039062 C 26.835938 10.769531 27.515625 13.023438 26.972656 15.890625 C 26.429688 18.757812 25.144531 19.90625 24.289062 20.679688 C 23.433594 21.449219 21.492188 22.792969 21.199219 22.773438 C 20.90625 22.753906 20.867188 22.753906 20.964844 22.496094 Z M 20.964844 22.496094 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(98.823529%,88.235295%,0.784314%);fill-opacity:1;" d="M 16.765625 18.34375 C 16.765625 18.34375 18.011719 18.621094 18.960938 18.027344 C 19.914062 17.4375 20.65625 16.464844 20.773438 16.089844 C 20.886719 15.714844 20.90625 16.425781 21.042969 16.070312 C 21.179688 15.714844 21.726562 15.003906 21.453125 13.34375 C 21.179688 11.679688 21.160156 11.601562 20.65625 10.710938 C 20.148438 9.820312 18.945312 8.59375 18.203125 8.199219 C 17.46875 7.804688 16.4375 7.210938 15.015625 7.25 C 13.597656 7.289062 14.0625 7.191406 12.703125 7.429688 C 11.34375 7.664062 10.117188 8.320312 9.710938 8.671875 C 9.304688 9.03125 8.214844 10 7.824219 10.53125 C 7.4375 11.066406 6.367188 12.273438 5.804688 13.953125 C 5.238281 15.632812 5.007812 15.8125 4.96875 16.921875 C 4.929688 18.027344 5.0625 18.324219 4.832031 18.421875 C 4.597656 18.523438 4.636719 17.59375 4.65625 16.941406 C 4.675781 16.289062 4.675781 14.585938 5.53125 12.6875 C 6.386719 10.789062 7.902344 9.207031 8.757812 8.632812 C 9.613281 8.0625 10.605469 7.289062 12.140625 6.914062 C 13.675781 6.539062 15.210938 6.597656 16.164062 6.773438 C 17.117188 6.953125 18.59375 7.566406 19.390625 8.179688 C 20.1875 8.792969 21.0625 9.546875 21.726562 10.769531 C 22.382812 11.996094 22.558594 13.558594 22.539062 14.210938 C 22.523438 14.863281 22.191406 16.367188 21.6875 17.097656 C 21.179688 17.828125 20.5 18.703125 19.796875 19.015625 C 19.101562 19.332031 18.242188 19.433594 17.546875 19.117188 C 16.84375 18.796875 16.882812 18.679688 16.765625 18.34375 Z M 16.765625 18.34375 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(36.862746%,85.09804%,21.960784%);fill-opacity:1;" d="M 16.765625 18.34375 C 16.765625 18.34375 17.75 18.625 18.585938 18.246094 C 19.414062 17.867188 19.726562 17.503906 19.921875 17.289062 C 20.125 17.070312 20.5 16.664062 20.605469 16.476562 C 20.707031 16.289062 20.816406 16.175781 20.816406 16.105469 C 20.816406 16.035156 20.625 15.867188 20.8125 15.460938 C 20.996094 15.054688 21.160156 14.125 21.078125 13.707031 C 20.996094 13.289062 20.804688 10.960938 19.15625 9.40625 C 17.503906 7.855469 15.867188 7.671875 15.867188 7.671875 C 15.867188 7.671875 18.480469 8.5 19.703125 11 C 20.929688 13.503906 20.527344 15.113281 19.746094 16.09375 C 18.960938 17.070312 17.847656 17.183594 17.546875 16.929688 C 17.242188 16.679688 16.621094 18.078125 16.765625 18.34375 Z M 16.765625 18.34375 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(56.078434%,85.882354%,91.37255%);fill-opacity:1;" d="M 13.585938 9.367188 C 13.585938 9.367188 11.828125 9.351562 10.492188 10.234375 C 9.160156 11.113281 8.515625 11.828125 8.144531 12.386719 C 7.773438 12.945312 7.347656 13.714844 7.402344 13.703125 C 7.457031 13.6875 9.007812 11.519531 10.21875 10.960938 C 11.429688 10.398438 12.640625 9.617188 14.300781 10.191406 C 15.964844 10.765625 16.75 11.5625 17.105469 11.367188 C 17.460938 11.171875 17.53125 10.929688 17.328125 10.664062 C 17.117188 10.398438 15.664062 9.101562 13.585938 9.367188 Z M 13.585938 9.367188 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(99.215686%,47.843137%,100%);fill-opacity:1;" d="M 10.953125 20.539062 C 11.070312 20.601562 11.945312 22.121094 12.644531 22.378906 C 13.34375 22.636719 13.8125 22.65625 13.890625 22.773438 C 13.96875 22.890625 13.949219 23.484375 14.570312 23.742188 C 15.191406 24 18.109375 24.8125 18.945312 24.890625 C 19.78125 24.96875 19.078125 25.464844 19.585938 25.640625 C 20.089844 25.820312 22.25 25.917969 22.773438 25.703125 C 23.296875 25.484375 23.296875 25.898438 22.382812 26.253906 C 21.46875 26.609375 19.0625 27.460938 17.484375 27.265625 C 15.914062 27.066406 14.046875 26.730469 12.996094 25.976562 C 11.945312 25.226562 11.5 24.890625 11.886719 24.832031 C 12.277344 24.773438 13.304688 25.878906 13.753906 26 C 14.203125 26.117188 14.570312 26.117188 14.296875 25.839844 C 14.023438 25.5625 12.257812 24.335938 12.082031 24.398438 C 11.90625 24.453125 11.539062 24.492188 11.226562 24.078125 C 10.914062 23.664062 9.28125 21.371094 9.378906 20.144531 C 9.476562 18.917969 9.789062 19.234375 10.15625 19.6875 C 10.527344 20.144531 10.953125 20.539062 10.953125 20.539062 Z M 10.953125 20.539062 "/>
|
||||
</g>
|
||||
</svg>
|
After (image error) Size: 35 KiB |
302
pkg/usr/share/icons/hicolor/scalable/apps/spark-store_512px.svg
Normal file
@ -0,0 +1,302 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512px" height="512px" viewBox="0 0 512 512" version="1.1">
|
||||
<defs>
|
||||
<clipPath id="clip1">
|
||||
<path d="M 512 102.398438 L 512 409.601562 C 512 436.757812 501.210938 462.804688 482.003906 482.003906 C 462.804688 501.210938 436.757812 512 409.601562 512 L 102.398438 512 C 75.242188 512 49.195312 501.210938 29.996094 482.003906 C 10.789062 462.804688 0 436.757812 0 409.601562 L 0 102.398438 C 0 45.84375 45.84375 0 102.398438 0 L 409.601562 0 C 436.757812 0 462.804688 10.789062 482.003906 29.996094 C 501.210938 49.195312 512 75.242188 512 102.398438 Z M 512 102.398438 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 512 102.398438 L 512 409.601562 C 512 436.757812 501.210938 462.804688 482.003906 482.003906 C 462.804688 501.210938 436.757812 512 409.601562 512 L 102.398438 512 C 75.242188 512 49.195312 501.210938 29.996094 482.003906 C 10.789062 462.804688 0 436.757812 0 409.601562 L 0 102.398438 C 0 45.84375 45.84375 0 102.398438 0 L 409.601562 0 C 436.757812 0 462.804688 10.789062 482.003906 29.996094 C 501.210938 49.195312 512 75.242188 512 102.398438 Z M 512 102.398438 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="256" y2="256" gradientTransform="matrix(2,0,0,2,0.000006144,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,100%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,100%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,99.607843%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,99.607843%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,99.607843%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,99.215686%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,99.215686%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,99.215686%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,98.823529%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,98.823529%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(100%,98.039216%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(100%,97.647059%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(100%,97.647059%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(100%,97.254902%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(100%,96.862745%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(100%,96.470588%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(100%,96.078431%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(100%,95.686275%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(100%,95.686275%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(100%,95.294118%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(100%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(99.607843%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(99.215686%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(98.823529%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(98.431373%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(98.431373%,94.509804%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(98.039216%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(97.647059%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(96.862745%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(96.470588%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(95.686275%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(95.294118%,94.509804%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(94.509804%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(94.117647%,94.117647%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(93.72549%,94.117647%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip3">
|
||||
<path d="M 512 102.398438 L 512 409.601562 C 512 436.757812 501.210938 462.804688 482.003906 482.003906 C 462.804688 501.210938 436.757812 512 409.601562 512 L 102.398438 512 C 75.242188 512 49.195312 501.210938 29.996094 482.003906 C 10.789062 462.804688 0 436.757812 0 409.601562 L 0 102.398438 C 0 45.84375 45.84375 0 102.398438 0 L 409.601562 0 C 436.757812 0 462.804688 10.789062 482.003906 29.996094 C 501.210938 49.195312 512 75.242188 512 102.398438 Z M 512 102.398438 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="213.329956" y2="213.329956" gradientTransform="matrix(2.343787,0,0,2.343787,0,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,91.764706%,56.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.00390625" style="stop-color:rgb(100%,91.764706%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0078125" style="stop-color:rgb(100%,91.372549%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0117188" style="stop-color:rgb(100%,91.372549%,57.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,91.372549%,57.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.0195312" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0234375" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0273438" style="stop-color:rgb(100%,90.980392%,58.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0351562" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0390625" style="stop-color:rgb(100%,90.588235%,59.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0429688" style="stop-color:rgb(100%,90.196078%,59.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0507812" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0546875" style="stop-color:rgb(100%,89.803922%,60.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.0585938" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0664062" style="stop-color:rgb(100%,89.411765%,61.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.0703125" style="stop-color:rgb(100%,89.411765%,61.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.0742188" style="stop-color:rgb(100%,89.411765%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,89.019608%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.0820312" style="stop-color:rgb(100%,89.019608%,62.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.0859375" style="stop-color:rgb(100%,89.019608%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.0898438" style="stop-color:rgb(100%,88.627451%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,88.627451%,63.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.0976562" style="stop-color:rgb(100%,88.235294%,63.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.101562" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.105469" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,87.843137%,64.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.113281" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.117188" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.121094" style="stop-color:rgb(100%,87.45098%,65.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,87.45098%,65.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.128906" style="stop-color:rgb(100%,87.45098%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.132812" style="stop-color:rgb(100%,87.058824%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.136719" style="stop-color:rgb(100%,87.058824%,66.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,87.058824%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.144531" style="stop-color:rgb(100%,86.666667%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.148438" style="stop-color:rgb(100%,86.666667%,67.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.152344" style="stop-color:rgb(100%,86.666667%,67.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.160156" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.164062" style="stop-color:rgb(100%,86.27451%,68.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.167969" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.175781" style="stop-color:rgb(100%,85.882353%,69.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.179688" style="stop-color:rgb(100%,85.490196%,69.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.183594" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.191406" style="stop-color:rgb(100%,85.098039%,70.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.195312" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.199219" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,84.705882%,70.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.207031" style="stop-color:rgb(100%,84.705882%,71.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.210938" style="stop-color:rgb(100%,84.705882%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.214844" style="stop-color:rgb(100%,84.313725%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,84.313725%,72.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.222656" style="stop-color:rgb(100%,84.313725%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.226562" style="stop-color:rgb(100%,83.921569%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.230469" style="stop-color:rgb(100%,83.921569%,72.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,83.921569%,73.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.238281" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.242188" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.246094" style="stop-color:rgb(100%,83.529412%,74.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,83.137255%,74.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.253906" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.257812" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.261719" style="stop-color:rgb(100%,82.745098%,75.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.269531" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.273438" style="stop-color:rgb(100%,82.352941%,76.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.277344" style="stop-color:rgb(100%,82.352941%,76.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.285156" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.289062" style="stop-color:rgb(100%,81.960784%,77.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.292969" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.300781" style="stop-color:rgb(100%,81.568627%,78.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.304688" style="stop-color:rgb(100%,81.176471%,78.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.308594" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.316406" style="stop-color:rgb(100%,80.784314%,79.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.320312" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.324219" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.328125" style="stop-color:rgb(100%,80.392157%,80%);stop-opacity:1;"/>
|
||||
<stop offset="0.332031" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.335938" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.339844" style="stop-color:rgb(99.607843%,80.392157%,80.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.347656" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.351562" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.355469" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.359375" style="stop-color:rgb(98.823529%,80.784314%,81.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.363281" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.367188" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.371094" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.378906" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.382812" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.386719" style="stop-color:rgb(98.039216%,80.784314%,83.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.390625" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.394531" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.398438" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.402344" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(97.254902%,81.176471%,84.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.410156" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.414062" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.417969" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.421875" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.425781" style="stop-color:rgb(96.470588%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.429688" style="stop-color:rgb(96.078431%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.433594" style="stop-color:rgb(96.078431%,81.176471%,86.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.441406" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.445312" style="stop-color:rgb(95.686275%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.449219" style="stop-color:rgb(95.294118%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.453125" style="stop-color:rgb(95.294118%,81.568627%,87.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.457031" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.460938" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.464844" style="stop-color:rgb(94.901961%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(94.509804%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.472656" style="stop-color:rgb(94.509804%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.476562" style="stop-color:rgb(94.117647%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.480469" style="stop-color:rgb(94.117647%,81.568627%,89.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.484375" style="stop-color:rgb(94.117647%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.488281" style="stop-color:rgb(93.72549%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.492188" style="stop-color:rgb(93.72549%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.496094" style="stop-color:rgb(93.333333%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(93.333333%,81.568627%,90.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.503906" style="stop-color:rgb(93.333333%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.507812" style="stop-color:rgb(92.941176%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.511719" style="stop-color:rgb(92.941176%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.515625" style="stop-color:rgb(92.54902%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.519531" style="stop-color:rgb(92.54902%,81.960784%,91.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.523437" style="stop-color:rgb(92.54902%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.527344" style="stop-color:rgb(92.156863%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(92.156863%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.535156" style="stop-color:rgb(91.764706%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.539062" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.542969" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.546875" style="stop-color:rgb(91.372549%,81.960784%,92.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.550781" style="stop-color:rgb(91.372549%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.554687" style="stop-color:rgb(90.980392%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.558594" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.566406" style="stop-color:rgb(90.588235%,82.352941%,94.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.570312" style="stop-color:rgb(90.588235%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.574219" style="stop-color:rgb(90.196078%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.578125" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.582031" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.585937" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.589844" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(89.411765%,82.352941%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.597656" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.601562" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.605469" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.609375" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.613281" style="stop-color:rgb(88.627451%,82.745098%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.617187" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.621094" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.628906" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.632812" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.636719" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.640625" style="stop-color:rgb(87.843137%,82.745098%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.644531" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.648437" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.652344" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.660156" style="stop-color:rgb(87.058824%,83.137255%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.664062" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.671875" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.679687" style="stop-color:rgb(86.27451%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(85.882353%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.695312" style="stop-color:rgb(85.490196%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(85.098039%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.710937" style="stop-color:rgb(84.705882%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(84.705882%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.726562" style="stop-color:rgb(84.313725%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(83.921569%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.742187" style="stop-color:rgb(83.529412%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(83.137255%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.757812" style="stop-color:rgb(82.745098%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(82.352941%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.773437" style="stop-color:rgb(81.960784%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.789062" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(81.176471%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.804687" style="stop-color:rgb(80.784314%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(80.392157%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.820312" style="stop-color:rgb(80%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(79.607843%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.835937" style="stop-color:rgb(79.215686%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(78.823529%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.851562" style="stop-color:rgb(78.431373%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.867187" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(77.647059%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.882812" style="stop-color:rgb(77.254902%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(76.862745%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.898437" style="stop-color:rgb(76.470588%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(76.078431%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.914062" style="stop-color:rgb(75.686275%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(75.294118%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.929687" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.945312" style="stop-color:rgb(74.509804%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(74.117647%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.960937" style="stop-color:rgb(73.72549%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(73.333333%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.976562" style="stop-color:rgb(72.941176%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(72.54902%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.992187" style="stop-color:rgb(72.156863%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(71.764706%,84.705882%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g clip-path="url(#clip1)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip2)" clip-rule="nonzero">
|
||||
<rect x="0" y="0" width="512" height="512" style="fill:url(#linear0);stroke:none;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g clip-path="url(#clip3)" clip-rule="nonzero">
|
||||
<path style="fill:none;stroke-width:60;stroke-linecap:butt;stroke-linejoin:miter;stroke:url(#linear1);stroke-miterlimit:4;" d="M 499.999994 99.998474 L 499.999994 400.001526 C 499.999994 426.521301 489.4638 451.957703 470.706934 470.70694 C 451.957697 489.463806 426.521295 500 400.00152 500 L 99.998468 500 C 73.478693 500 48.042291 489.463806 29.293054 470.70694 C 10.536188 451.957703 -0.000006 426.521301 -0.000006 400.001526 L -0.000006 99.998474 C -0.000006 44.769287 44.769281 0 99.998468 0 L 400.00152 0 C 426.521295 0 451.957697 10.536194 470.706934 29.29306 C 489.4638 48.042297 499.999994 73.478699 499.999994 99.998474 Z M 499.999994 99.998474 " transform="matrix(1.024,0,0,1.024,0.000006144,0)"/>
|
||||
</g>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,76.47059%,26.666668%);fill-opacity:1;" d="M 238.0625 67.296875 C 238.0625 67.296875 269.738281 66.847656 302.289062 86.980469 C 334.835938 107.121094 353.75 126.363281 359.910156 138.890625 C 366.0625 151.417969 386.296875 173.34375 385.863281 213.617188 C 385.417969 253.886719 376.179688 280.742188 360.347656 303.113281 C 344.511719 325.488281 315.921875 342.492188 281.609375 343.386719 C 247.300781 344.277344 225.3125 321.902344 217.835938 309.375 C 210.355469 296.847656 207.273438 270 216.511719 250.757812 C 225.75 231.515625 240.265625 231.515625 245.105469 233.308594 C 249.941406 235.097656 251.265625 237.78125 253.898438 242.703125 C 256.539062 247.625 258.296875 246.730469 262.257812 244.046875 C 266.21875 241.359375 267.535156 238.230469 266.65625 234.203125 C 265.777344 230.175781 260.5 225.253906 256.101562 223.910156 C 251.703125 222.566406 245.542969 218.539062 236.746094 219.882812 C 227.953125 221.226562 210.792969 225.703125 196.277344 245.386719 C 181.765625 265.078125 183.523438 295.503906 192.320312 309.824219 C 201.121094 324.144531 217.835938 350.992188 254.777344 360.390625 C 291.726562 369.785156 351.550781 342.042969 372.222656 299.082031 C 392.894531 256.128906 393.339844 235.988281 392.457031 200.640625 C 391.578125 165.289062 360.347656 112.492188 325.601562 93.246094 C 290.847656 74.003906 264.894531 62.820312 238.0625 67.296875 Z M 238.0625 67.296875 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(94.117647%,40.392157%,40.392157%);fill-opacity:1;" d="M 256.453125 246.054688 C 256.453125 246.054688 247.742188 237.824219 239.96875 252.378906 C 232.191406 266.933594 228.457031 279.910156 236.234375 295.726562 C 244.011719 311.546875 260.179688 321.039062 285.066406 320.726562 C 309.945312 320.40625 328.296875 314.394531 339.183594 296.363281 C 350.070312 278.324219 358.46875 265.035156 359.402344 258.390625 C 360.335938 251.75 365.3125 259.339844 363.753906 265.035156 C 362.199219 270.730469 362.511719 281.808594 366.863281 279.589844 C 371.222656 277.375 374.640625 273.894531 375.265625 275.476562 C 375.882812 277.0625 370.289062 286.871094 367.644531 291.769531 C 364.996094 296.675781 356.757812 308.542969 351.9375 313.128906 C 347.113281 317.71875 340.425781 324.203125 332.496094 328.949219 C 324.566406 333.695312 312.28125 339.238281 305.441406 340.5 C 298.597656 341.765625 284.910156 344.453125 277.136719 344.136719 C 269.359375 343.824219 259.40625 342.398438 248.363281 336.863281 C 237.324219 331.324219 225.347656 322.777344 220.683594 314.238281 C 216.015625 305.695312 208.863281 297.941406 210.421875 276.425781 C 211.972656 254.910156 218.96875 243.835938 224.261719 238.773438 C 229.546875 233.710938 237.324219 231.5 242.453125 232.601562 C 247.585938 233.710938 250.851562 236.71875 252.097656 238.933594 C 253.339844 241.148438 255.359375 245.257812 256.453125 246.054688 Z M 256.453125 246.054688 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(24.705882%,38.431373%,92.156863%);fill-opacity:1;" d="M 335.449219 359.957031 C 335.449219 359.957031 372.773438 338.128906 390.191406 303.636719 C 407.609375 269.152344 415.070312 247.003906 412.894531 213.148438 C 410.71875 179.289062 405.433594 196.058594 411.34375 181.503906 C 417.253906 166.949219 407.609375 138.15625 411.652344 136.257812 C 415.695312 134.355469 424.40625 148.910156 426.894531 160.617188 C 429.382812 172.332031 440.265625 208.398438 431.558594 254.277344 C 422.847656 300.160156 402.320312 318.511719 388.632812 330.847656 C 374.953125 343.1875 343.851562 364.703125 339.183594 364.390625 C 334.515625 364.074219 333.898438 364.074219 335.449219 359.957031 Z M 335.449219 359.957031 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(98.823529%,88.235295%,0.784314%);fill-opacity:1;" d="M 268.273438 293.515625 C 268.273438 293.515625 288.175781 297.941406 303.414062 288.453125 C 318.65625 278.960938 330.476562 263.457031 332.339844 257.441406 C 334.207031 251.429688 334.515625 262.820312 336.691406 257.125 C 338.875 251.429688 347.585938 240.042969 343.226562 213.460938 C 338.875 186.886719 338.558594 185.617188 330.476562 171.382812 C 322.390625 157.140625 303.105469 137.523438 291.285156 131.195312 C 279.464844 124.871094 262.980469 115.375 240.277344 116.003906 C 217.574219 116.640625 225.035156 115.054688 203.265625 118.851562 C 181.492188 122.652344 161.898438 133.09375 155.367188 138.789062 C 148.835938 144.484375 131.417969 159.988281 125.199219 168.535156 C 118.976562 177.070312 101.871094 196.375 92.851562 223.269531 C 83.828125 250.164062 80.097656 253.011719 79.476562 270.730469 C 78.851562 288.453125 81.03125 293.195312 77.300781 294.777344 C 73.566406 296.363281 74.1875 281.488281 74.5 271.050781 C 74.8125 260.609375 74.8125 233.398438 88.496094 203.019531 C 102.179688 172.644531 126.441406 147.332031 140.128906 138.15625 C 153.8125 128.980469 169.675781 116.640625 194.246094 110.628906 C 218.816406 104.617188 243.386719 105.566406 258.628906 108.414062 C 273.867188 111.257812 297.503906 121.070312 310.257812 130.878906 C 323.007812 140.6875 337.007812 152.710938 347.585938 172.332031 C 358.15625 191.945312 360.953125 216.945312 360.644531 227.382812 C 360.335938 237.824219 355.046875 261.871094 346.960938 273.578125 C 338.875 285.285156 327.988281 299.210938 316.789062 304.273438 C 305.59375 309.332031 291.910156 310.917969 280.710938 305.855469 C 269.515625 300.789062 270.136719 298.890625 268.273438 293.515625 Z M 268.273438 293.515625 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(36.862746%,85.09804%,21.960784%);fill-opacity:1;" d="M 268.273438 293.515625 C 268.273438 293.515625 284.03125 297.96875 297.339844 291.925781 C 310.644531 285.882812 315.589844 280.070312 318.777344 276.597656 C 321.96875 273.128906 328.015625 266.644531 329.667969 263.621094 C 331.316406 260.601562 333.078125 258.8125 333.078125 257.695312 C 333.078125 256.574219 329.996094 253.886719 332.964844 247.402344 C 335.9375 240.910156 338.574219 226.039062 337.253906 219.324219 C 335.9375 212.613281 332.851562 175.359375 306.464844 150.523438 C 280.074219 125.691406 253.902344 122.777344 253.902344 122.777344 C 253.902344 122.777344 295.691406 135.984375 315.265625 176.03125 C 334.835938 216.078125 328.457031 241.808594 315.921875 257.472656 C 303.386719 273.128906 285.574219 274.921875 280.730469 270.894531 C 275.894531 266.871094 265.925781 289.285156 268.273438 293.515625 Z M 268.273438 293.515625 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(56.078434%,85.882354%,91.37255%);fill-opacity:1;" d="M 217.390625 149.851562 C 217.390625 149.851562 189.242188 149.632812 167.910156 163.722656 C 146.574219 177.820312 136.238281 189.230469 130.296875 198.179688 C 124.363281 207.128906 117.546875 219.433594 118.425781 219.210938 C 119.308594 218.988281 144.15625 184.308594 163.507812 175.359375 C 182.863281 166.410156 202.21875 153.882812 228.828125 163.054688 C 255.441406 172.230469 267.980469 184.980469 273.695312 181.84375 C 279.414062 178.714844 280.511719 174.910156 277.214844 170.660156 C 273.914062 166.410156 250.601562 145.601562 217.390625 149.851562 Z M 217.390625 149.851562 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(99.215686%,47.843137%,100%);fill-opacity:1;" d="M 175.273438 328.632812 C 177.140625 329.585938 191.136719 353.945312 202.332031 358.058594 C 213.53125 362.175781 220.992188 362.492188 222.238281 364.390625 C 223.484375 366.289062 223.171875 375.78125 233.125 379.894531 C 243.078125 384.003906 289.734375 396.980469 303.105469 398.246094 C 316.480469 399.507812 305.28125 407.417969 313.371094 410.265625 C 321.457031 413.113281 355.980469 414.699219 364.378906 411.214844 C 372.773438 407.738281 372.773438 414.382812 358.15625 420.078125 C 343.535156 425.769531 304.96875 439.375 279.777344 436.214844 C 254.585938 433.050781 224.726562 427.667969 207.929688 415.648438 C 191.136719 403.625 183.984375 398.246094 190.203125 397.296875 C 196.421875 396.347656 212.90625 414.0625 220.058594 415.960938 C 227.214844 417.863281 233.125 417.863281 228.769531 413.433594 C 224.414062 409.003906 196.113281 389.386719 193.3125 390.335938 C 190.511719 391.285156 184.601562 391.914062 179.625 385.273438 C 174.652344 378.628906 148.523438 341.925781 150.078125 322.308594 C 151.636719 302.6875 156.613281 307.75 162.523438 315.03125 C 168.433594 322.308594 175.273438 328.632812 175.273438 328.632812 Z M 175.273438 328.632812 "/>
|
||||
</g>
|
||||
</svg>
|
After (image error) Size: 36 KiB |
302
pkg/usr/share/icons/hicolor/scalable/apps/spark-store_64px.svg
Normal file
@ -0,0 +1,302 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64px" height="64px" viewBox="0 0 64 64" version="1.1">
|
||||
<defs>
|
||||
<clipPath id="clip1">
|
||||
<path d="M 64 12.800781 L 64 51.199219 C 64 54.59375 62.652344 57.851562 60.25 60.25 C 57.851562 62.652344 54.59375 64 51.199219 64 L 12.800781 64 C 9.40625 64 6.148438 62.652344 3.75 60.25 C 1.347656 57.851562 0 54.59375 0 51.199219 L 0 12.800781 C 0 5.730469 5.730469 0 12.800781 0 L 51.199219 0 C 54.59375 0 57.851562 1.347656 60.25 3.75 C 62.652344 6.148438 64 9.40625 64 12.800781 Z M 64 12.800781 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 64 12.800781 L 64 51.199219 C 64 54.59375 62.652344 57.851562 60.25 60.25 C 57.851562 62.652344 54.59375 64 51.199219 64 L 12.800781 64 C 9.40625 64 6.148438 62.652344 3.75 60.25 C 1.347656 57.851562 0 54.59375 0 51.199219 L 0 12.800781 C 0 5.730469 5.730469 0 12.800781 0 L 51.199219 0 C 54.59375 0 57.851562 1.347656 60.25 3.75 C 62.652344 6.148438 64 9.40625 64 12.800781 Z M 64 12.800781 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="256" y2="256" gradientTransform="matrix(0.25,0,0,0.25,0.000000768,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,100%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,100%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,100%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,99.607843%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,99.607843%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,99.607843%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,99.607843%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,99.215686%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,99.215686%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,99.215686%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,99.215686%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,98.823529%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,98.823529%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,98.823529%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,98.823529%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(100%,98.431373%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(100%,98.039216%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(100%,97.647059%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(100%,97.647059%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(100%,97.254902%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(100%,96.862745%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(100%,96.470588%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(100%,96.078431%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(100%,95.686275%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(100%,95.686275%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(100%,95.294118%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(100%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(99.607843%,94.901961%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(99.215686%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(98.823529%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(98.431373%,94.901961%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(98.431373%,94.509804%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(98.039216%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(97.647059%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(97.254902%,94.509804%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(96.862745%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(96.470588%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(96.078431%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(95.686275%,94.509804%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(95.294118%,94.509804%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(94.901961%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(94.509804%,94.117647%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(94.117647%,94.117647%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(93.72549%,94.117647%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip3">
|
||||
<path d="M 64 12.800781 L 64 51.199219 C 64 54.59375 62.652344 57.851562 60.25 60.25 C 57.851562 62.652344 54.59375 64 51.199219 64 L 12.800781 64 C 9.40625 64 6.148438 62.652344 3.75 60.25 C 1.347656 57.851562 0 54.59375 0 51.199219 L 0 12.800781 C 0 5.730469 5.730469 0 12.800781 0 L 51.199219 0 C 54.59375 0 57.851562 1.347656 60.25 3.75 C 62.652344 6.148438 64 9.40625 64 12.800781 Z M 64 12.800781 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="213.329956" y2="213.329956" gradientTransform="matrix(2.343787,0,0,2.343787,0,0)">
|
||||
<stop offset="0" style="stop-color:rgb(100%,91.764706%,56.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.00390625" style="stop-color:rgb(100%,91.764706%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0078125" style="stop-color:rgb(100%,91.372549%,56.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.0117188" style="stop-color:rgb(100%,91.372549%,57.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.015625" style="stop-color:rgb(100%,91.372549%,57.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.0195312" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0234375" style="stop-color:rgb(100%,90.980392%,58.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.0273438" style="stop-color:rgb(100%,90.980392%,58.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.03125" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0351562" style="stop-color:rgb(100%,90.588235%,58.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.0390625" style="stop-color:rgb(100%,90.588235%,59.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.0429688" style="stop-color:rgb(100%,90.196078%,59.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.046875" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0507812" style="stop-color:rgb(100%,90.196078%,60%);stop-opacity:1;"/>
|
||||
<stop offset="0.0546875" style="stop-color:rgb(100%,89.803922%,60.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.0585938" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0625" style="stop-color:rgb(100%,89.803922%,60.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.0664062" style="stop-color:rgb(100%,89.411765%,61.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.0703125" style="stop-color:rgb(100%,89.411765%,61.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.0742188" style="stop-color:rgb(100%,89.411765%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.078125" style="stop-color:rgb(100%,89.019608%,61.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.0820312" style="stop-color:rgb(100%,89.019608%,62.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.0859375" style="stop-color:rgb(100%,89.019608%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.0898438" style="stop-color:rgb(100%,88.627451%,62.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.09375" style="stop-color:rgb(100%,88.627451%,63.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.0976562" style="stop-color:rgb(100%,88.235294%,63.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.101562" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.105469" style="stop-color:rgb(100%,88.235294%,63.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.109375" style="stop-color:rgb(100%,87.843137%,64.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.113281" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.117188" style="stop-color:rgb(100%,87.843137%,64.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.121094" style="stop-color:rgb(100%,87.45098%,65.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.125" style="stop-color:rgb(100%,87.45098%,65.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.128906" style="stop-color:rgb(100%,87.45098%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.132812" style="stop-color:rgb(100%,87.058824%,65.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.136719" style="stop-color:rgb(100%,87.058824%,66.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.140625" style="stop-color:rgb(100%,87.058824%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.144531" style="stop-color:rgb(100%,86.666667%,66.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.148438" style="stop-color:rgb(100%,86.666667%,67.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.152344" style="stop-color:rgb(100%,86.666667%,67.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.15625" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.160156" style="stop-color:rgb(100%,86.27451%,67.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.164062" style="stop-color:rgb(100%,86.27451%,68.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.167969" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.171875" style="stop-color:rgb(100%,85.882353%,68.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.175781" style="stop-color:rgb(100%,85.882353%,69.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.179688" style="stop-color:rgb(100%,85.490196%,69.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.183594" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.1875" style="stop-color:rgb(100%,85.490196%,69.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.191406" style="stop-color:rgb(100%,85.098039%,70.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.195312" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.199219" style="stop-color:rgb(100%,85.098039%,70.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.203125" style="stop-color:rgb(100%,84.705882%,70.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.207031" style="stop-color:rgb(100%,84.705882%,71.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.210938" style="stop-color:rgb(100%,84.705882%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.214844" style="stop-color:rgb(100%,84.313725%,71.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.21875" style="stop-color:rgb(100%,84.313725%,72.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.222656" style="stop-color:rgb(100%,84.313725%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.226562" style="stop-color:rgb(100%,83.921569%,72.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.230469" style="stop-color:rgb(100%,83.921569%,72.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.234375" style="stop-color:rgb(100%,83.921569%,73.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.238281" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.242188" style="stop-color:rgb(100%,83.529412%,73.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.246094" style="stop-color:rgb(100%,83.529412%,74.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.25" style="stop-color:rgb(100%,83.137255%,74.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.253906" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.257812" style="stop-color:rgb(100%,83.137255%,74.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.261719" style="stop-color:rgb(100%,82.745098%,75.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.265625" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.269531" style="stop-color:rgb(100%,82.745098%,75.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.273438" style="stop-color:rgb(100%,82.352941%,76.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.277344" style="stop-color:rgb(100%,82.352941%,76.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.28125" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.285156" style="stop-color:rgb(100%,81.960784%,76.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.289062" style="stop-color:rgb(100%,81.960784%,77.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.292969" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.296875" style="stop-color:rgb(100%,81.568627%,77.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.300781" style="stop-color:rgb(100%,81.568627%,78.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.304688" style="stop-color:rgb(100%,81.176471%,78.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.308594" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.3125" style="stop-color:rgb(100%,81.176471%,78.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.316406" style="stop-color:rgb(100%,80.784314%,79.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.320312" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.324219" style="stop-color:rgb(100%,80.784314%,79.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.328125" style="stop-color:rgb(100%,80.392157%,80%);stop-opacity:1;"/>
|
||||
<stop offset="0.332031" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.335938" style="stop-color:rgb(100%,80.392157%,80.392157%);stop-opacity:1;"/>
|
||||
<stop offset="0.339844" style="stop-color:rgb(99.607843%,80.392157%,80.784314%);stop-opacity:1;"/>
|
||||
<stop offset="0.34375" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.347656" style="stop-color:rgb(99.607843%,80.392157%,81.176471%);stop-opacity:1;"/>
|
||||
<stop offset="0.351562" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.355469" style="stop-color:rgb(99.215686%,80.392157%,81.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.359375" style="stop-color:rgb(98.823529%,80.784314%,81.960784%);stop-opacity:1;"/>
|
||||
<stop offset="0.363281" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.367188" style="stop-color:rgb(98.823529%,80.784314%,82.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.371094" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.375" style="stop-color:rgb(98.431373%,80.784314%,82.745098%);stop-opacity:1;"/>
|
||||
<stop offset="0.378906" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.382812" style="stop-color:rgb(98.039216%,80.784314%,83.137255%);stop-opacity:1;"/>
|
||||
<stop offset="0.386719" style="stop-color:rgb(98.039216%,80.784314%,83.529412%);stop-opacity:1;"/>
|
||||
<stop offset="0.390625" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.394531" style="stop-color:rgb(97.647059%,80.784314%,83.921569%);stop-opacity:1;"/>
|
||||
<stop offset="0.398438" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.402344" style="stop-color:rgb(97.254902%,80.784314%,84.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.40625" style="stop-color:rgb(97.254902%,81.176471%,84.705882%);stop-opacity:1;"/>
|
||||
<stop offset="0.410156" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.414062" style="stop-color:rgb(96.862745%,81.176471%,85.098039%);stop-opacity:1;"/>
|
||||
<stop offset="0.417969" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.421875" style="stop-color:rgb(96.470588%,81.176471%,85.490196%);stop-opacity:1;"/>
|
||||
<stop offset="0.425781" style="stop-color:rgb(96.470588%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.429688" style="stop-color:rgb(96.078431%,81.176471%,85.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.433594" style="stop-color:rgb(96.078431%,81.176471%,86.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.4375" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.441406" style="stop-color:rgb(95.686275%,81.176471%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.445312" style="stop-color:rgb(95.686275%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.449219" style="stop-color:rgb(95.294118%,81.176471%,87.058824%);stop-opacity:1;"/>
|
||||
<stop offset="0.453125" style="stop-color:rgb(95.294118%,81.568627%,87.45098%);stop-opacity:1;"/>
|
||||
<stop offset="0.457031" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.460938" style="stop-color:rgb(94.901961%,81.568627%,87.843137%);stop-opacity:1;"/>
|
||||
<stop offset="0.464844" style="stop-color:rgb(94.901961%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.46875" style="stop-color:rgb(94.509804%,81.568627%,88.235294%);stop-opacity:1;"/>
|
||||
<stop offset="0.472656" style="stop-color:rgb(94.509804%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.476562" style="stop-color:rgb(94.117647%,81.568627%,88.627451%);stop-opacity:1;"/>
|
||||
<stop offset="0.480469" style="stop-color:rgb(94.117647%,81.568627%,89.019608%);stop-opacity:1;"/>
|
||||
<stop offset="0.484375" style="stop-color:rgb(94.117647%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.488281" style="stop-color:rgb(93.72549%,81.568627%,89.411765%);stop-opacity:1;"/>
|
||||
<stop offset="0.492188" style="stop-color:rgb(93.72549%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.496094" style="stop-color:rgb(93.333333%,81.568627%,89.803922%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(93.333333%,81.568627%,90.196078%);stop-opacity:1;"/>
|
||||
<stop offset="0.503906" style="stop-color:rgb(93.333333%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.507812" style="stop-color:rgb(92.941176%,81.960784%,90.588235%);stop-opacity:1;"/>
|
||||
<stop offset="0.511719" style="stop-color:rgb(92.941176%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.515625" style="stop-color:rgb(92.54902%,81.960784%,90.980392%);stop-opacity:1;"/>
|
||||
<stop offset="0.519531" style="stop-color:rgb(92.54902%,81.960784%,91.372549%);stop-opacity:1;"/>
|
||||
<stop offset="0.523437" style="stop-color:rgb(92.54902%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.527344" style="stop-color:rgb(92.156863%,81.960784%,91.764706%);stop-opacity:1;"/>
|
||||
<stop offset="0.53125" style="stop-color:rgb(92.156863%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.535156" style="stop-color:rgb(91.764706%,81.960784%,92.156863%);stop-opacity:1;"/>
|
||||
<stop offset="0.539062" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.542969" style="stop-color:rgb(91.764706%,81.960784%,92.54902%);stop-opacity:1;"/>
|
||||
<stop offset="0.546875" style="stop-color:rgb(91.372549%,81.960784%,92.941176%);stop-opacity:1;"/>
|
||||
<stop offset="0.550781" style="stop-color:rgb(91.372549%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.554687" style="stop-color:rgb(90.980392%,82.352941%,93.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.558594" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.5625" style="stop-color:rgb(90.980392%,82.352941%,93.72549%);stop-opacity:1;"/>
|
||||
<stop offset="0.566406" style="stop-color:rgb(90.588235%,82.352941%,94.117647%);stop-opacity:1;"/>
|
||||
<stop offset="0.570312" style="stop-color:rgb(90.588235%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.574219" style="stop-color:rgb(90.196078%,82.352941%,94.509804%);stop-opacity:1;"/>
|
||||
<stop offset="0.578125" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.582031" style="stop-color:rgb(90.196078%,82.352941%,94.901961%);stop-opacity:1;"/>
|
||||
<stop offset="0.585937" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.589844" style="stop-color:rgb(89.803922%,82.352941%,95.294118%);stop-opacity:1;"/>
|
||||
<stop offset="0.59375" style="stop-color:rgb(89.411765%,82.352941%,95.686275%);stop-opacity:1;"/>
|
||||
<stop offset="0.597656" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.601562" style="stop-color:rgb(89.411765%,82.745098%,96.078431%);stop-opacity:1;"/>
|
||||
<stop offset="0.605469" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.609375" style="stop-color:rgb(89.019608%,82.745098%,96.470588%);stop-opacity:1;"/>
|
||||
<stop offset="0.613281" style="stop-color:rgb(88.627451%,82.745098%,96.862745%);stop-opacity:1;"/>
|
||||
<stop offset="0.617187" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.621094" style="stop-color:rgb(88.627451%,82.745098%,97.254902%);stop-opacity:1;"/>
|
||||
<stop offset="0.625" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.628906" style="stop-color:rgb(88.235294%,82.745098%,97.647059%);stop-opacity:1;"/>
|
||||
<stop offset="0.632812" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.636719" style="stop-color:rgb(87.843137%,82.745098%,98.039216%);stop-opacity:1;"/>
|
||||
<stop offset="0.640625" style="stop-color:rgb(87.843137%,82.745098%,98.431373%);stop-opacity:1;"/>
|
||||
<stop offset="0.644531" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.648437" style="stop-color:rgb(87.45098%,83.137255%,98.823529%);stop-opacity:1;"/>
|
||||
<stop offset="0.652344" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.65625" style="stop-color:rgb(87.058824%,83.137255%,99.215686%);stop-opacity:1;"/>
|
||||
<stop offset="0.660156" style="stop-color:rgb(87.058824%,83.137255%,99.607843%);stop-opacity:1;"/>
|
||||
<stop offset="0.664062" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.671875" style="stop-color:rgb(86.666667%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.679687" style="stop-color:rgb(86.27451%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.6875" style="stop-color:rgb(85.882353%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.695312" style="stop-color:rgb(85.490196%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.703125" style="stop-color:rgb(85.098039%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.710937" style="stop-color:rgb(84.705882%,83.137255%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.71875" style="stop-color:rgb(84.705882%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.726562" style="stop-color:rgb(84.313725%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.734375" style="stop-color:rgb(83.921569%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.742187" style="stop-color:rgb(83.529412%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.75" style="stop-color:rgb(83.137255%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.757812" style="stop-color:rgb(82.745098%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.765625" style="stop-color:rgb(82.352941%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.773437" style="stop-color:rgb(81.960784%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.78125" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.789062" style="stop-color:rgb(81.568627%,83.529412%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.796875" style="stop-color:rgb(81.176471%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.804687" style="stop-color:rgb(80.784314%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.8125" style="stop-color:rgb(80.392157%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.820312" style="stop-color:rgb(80%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.828125" style="stop-color:rgb(79.607843%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.835937" style="stop-color:rgb(79.215686%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.84375" style="stop-color:rgb(78.823529%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.851562" style="stop-color:rgb(78.431373%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.859375" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.867187" style="stop-color:rgb(78.039216%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.875" style="stop-color:rgb(77.647059%,83.921569%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.882812" style="stop-color:rgb(77.254902%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.890625" style="stop-color:rgb(76.862745%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.898437" style="stop-color:rgb(76.470588%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.90625" style="stop-color:rgb(76.078431%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.914062" style="stop-color:rgb(75.686275%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.921875" style="stop-color:rgb(75.294118%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.929687" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.9375" style="stop-color:rgb(74.901961%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.945312" style="stop-color:rgb(74.509804%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.953125" style="stop-color:rgb(74.117647%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.960937" style="stop-color:rgb(73.72549%,84.313725%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.96875" style="stop-color:rgb(73.333333%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.976562" style="stop-color:rgb(72.941176%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.984375" style="stop-color:rgb(72.54902%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="0.992187" style="stop-color:rgb(72.156863%,84.705882%,100%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(71.764706%,84.705882%,100%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g clip-path="url(#clip1)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip2)" clip-rule="nonzero">
|
||||
<rect x="0" y="0" width="64" height="64" style="fill:url(#linear0);stroke:none;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g clip-path="url(#clip3)" clip-rule="nonzero">
|
||||
<path style="fill:none;stroke-width:60;stroke-linecap:butt;stroke-linejoin:miter;stroke:url(#linear1);stroke-miterlimit:4;" d="M 499.99997 100.006099 L 499.99997 399.993877 C 499.99997 426.513652 489.471406 451.965311 470.703097 470.703103 C 451.965305 489.471412 426.513646 499.999976 399.993871 499.999976 L 100.006093 499.999976 C 73.486319 499.999976 48.03466 489.471412 29.296868 470.703103 C 10.528558 451.965311 -0.000006 426.513652 -0.000006 399.993877 L -0.000006 100.006099 C -0.000006 44.769285 44.769279 0 100.006093 0 L 399.993871 0 C 426.513646 0 451.965305 10.528564 470.703097 29.296874 C 489.471406 48.034666 499.99997 73.486325 499.99997 100.006099 Z M 499.99997 100.006099 " transform="matrix(0.128,0,0,0.128,0.000000768,0)"/>
|
||||
</g>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,76.47059%,26.666668%);fill-opacity:1;" d="M 29.757812 8.414062 C 29.757812 8.414062 33.71875 8.355469 37.785156 10.875 C 41.855469 13.390625 44.21875 15.796875 44.988281 17.359375 C 45.757812 18.929688 48.289062 21.667969 48.234375 26.703125 C 48.179688 31.734375 47.023438 35.09375 45.042969 37.890625 C 43.0625 40.6875 39.492188 42.8125 35.203125 42.921875 C 30.914062 43.035156 28.164062 40.238281 27.230469 38.671875 C 26.296875 37.105469 25.910156 33.75 27.0625 31.34375 C 28.21875 28.9375 30.03125 28.9375 30.640625 29.164062 C 31.242188 29.386719 31.40625 29.722656 31.738281 30.335938 C 32.066406 30.953125 32.289062 30.84375 32.78125 30.507812 C 33.277344 30.171875 33.441406 29.78125 33.332031 29.273438 C 33.222656 28.773438 32.5625 28.15625 32.011719 27.988281 C 31.460938 27.820312 30.695312 27.316406 29.59375 27.484375 C 28.492188 27.652344 26.351562 28.210938 24.535156 30.671875 C 22.71875 33.132812 22.941406 36.9375 24.039062 38.726562 C 25.140625 40.515625 27.230469 43.875 31.847656 45.046875 C 36.464844 46.222656 43.945312 42.757812 46.527344 37.382812 C 49.109375 32.015625 49.167969 29.5 49.054688 25.078125 C 48.945312 20.660156 45.042969 14.0625 40.699219 11.65625 C 36.355469 9.25 33.109375 7.851562 29.757812 8.414062 Z M 29.757812 8.414062 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(94.117647%,40.392157%,40.392157%);fill-opacity:1;" d="M 32.054688 30.757812 C 32.054688 30.757812 30.96875 29.726562 29.996094 31.546875 C 29.023438 33.367188 28.554688 34.988281 29.53125 36.964844 C 30.5 38.945312 32.523438 40.128906 35.632812 40.089844 C 38.742188 40.050781 41.039062 39.296875 42.398438 37.046875 C 43.757812 34.789062 44.808594 33.128906 44.925781 32.296875 C 45.042969 31.46875 45.664062 32.417969 45.46875 33.128906 C 45.273438 33.84375 45.3125 35.226562 45.859375 34.949219 C 46.402344 34.671875 46.828125 34.234375 46.90625 34.433594 C 46.984375 34.632812 46.285156 35.859375 45.953125 36.46875 C 45.625 37.085938 44.59375 38.570312 43.992188 39.140625 C 43.390625 39.714844 42.554688 40.523438 41.5625 41.117188 C 40.570312 41.710938 39.035156 42.40625 38.179688 42.5625 C 37.324219 42.71875 35.613281 43.054688 34.640625 43.015625 C 33.671875 42.976562 32.425781 42.800781 31.046875 42.109375 C 29.664062 41.414062 28.167969 40.347656 27.585938 39.28125 C 27 38.210938 26.109375 37.242188 26.304688 34.554688 C 26.496094 31.863281 27.371094 30.480469 28.03125 29.847656 C 28.695312 29.214844 29.664062 28.9375 30.304688 29.074219 C 30.949219 29.214844 31.355469 29.589844 31.511719 29.867188 C 31.667969 30.144531 31.921875 30.65625 32.054688 30.757812 Z M 32.054688 30.757812 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(24.705882%,38.431373%,92.156863%);fill-opacity:1;" d="M 41.929688 44.992188 C 41.929688 44.992188 46.597656 42.265625 48.773438 37.953125 C 50.953125 33.644531 51.882812 30.875 51.609375 26.644531 C 51.339844 22.410156 50.679688 24.507812 51.417969 22.6875 C 52.15625 20.867188 50.953125 17.269531 51.457031 17.03125 C 51.960938 16.796875 53.050781 18.613281 53.359375 20.078125 C 53.671875 21.539062 55.03125 26.050781 53.945312 31.785156 C 52.855469 37.519531 50.289062 39.8125 48.578125 41.355469 C 46.867188 42.898438 42.980469 45.585938 42.398438 45.546875 C 41.8125 45.507812 41.738281 45.507812 41.929688 44.992188 Z M 41.929688 44.992188 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(98.823529%,88.235295%,0.784314%);fill-opacity:1;" d="M 33.535156 36.6875 C 33.535156 36.6875 36.023438 37.242188 37.925781 36.054688 C 39.832031 34.871094 41.308594 32.929688 41.542969 32.179688 C 41.773438 31.429688 41.8125 32.851562 42.085938 32.140625 C 42.359375 31.429688 43.449219 30.007812 42.902344 26.683594 C 42.359375 23.359375 42.320312 23.203125 41.308594 21.421875 C 40.296875 19.640625 37.890625 17.191406 36.410156 16.398438 C 34.933594 15.609375 32.875 14.421875 30.035156 14.5 C 27.195312 14.578125 28.128906 14.382812 25.40625 14.855469 C 22.6875 15.332031 20.238281 16.636719 19.421875 17.347656 C 18.605469 18.0625 16.429688 20 15.648438 21.066406 C 14.871094 22.132812 12.734375 24.546875 11.605469 27.90625 C 10.476562 31.269531 10.011719 31.625 9.933594 33.84375 C 9.855469 36.054688 10.128906 36.648438 9.664062 36.847656 C 9.195312 37.046875 9.273438 35.1875 9.3125 33.882812 C 9.351562 32.578125 9.351562 29.175781 11.0625 25.375 C 12.773438 21.578125 15.804688 18.414062 17.515625 17.269531 C 19.226562 16.125 21.210938 14.578125 24.28125 13.828125 C 27.351562 13.078125 30.421875 13.195312 32.328125 13.550781 C 34.234375 13.90625 37.1875 15.132812 38.78125 16.359375 C 40.375 17.585938 42.125 19.089844 43.449219 21.539062 C 44.769531 23.992188 45.117188 27.117188 45.078125 28.421875 C 45.042969 29.726562 44.382812 32.734375 43.371094 34.195312 C 42.359375 35.660156 41 37.402344 39.597656 38.035156 C 38.199219 38.664062 36.488281 38.867188 35.089844 38.234375 C 33.6875 37.597656 33.765625 37.359375 33.535156 36.6875 Z M 33.535156 36.6875 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(36.862746%,85.09804%,21.960784%);fill-opacity:1;" d="M 33.535156 36.6875 C 33.535156 36.6875 35.503906 37.246094 37.167969 36.492188 C 38.828125 35.734375 39.449219 35.007812 39.847656 34.574219 C 40.246094 34.140625 41 33.328125 41.210938 32.953125 C 41.414062 32.574219 41.632812 32.351562 41.632812 32.210938 C 41.632812 32.070312 41.25 31.734375 41.621094 30.925781 C 41.992188 30.113281 42.320312 28.253906 42.15625 27.414062 C 41.992188 26.578125 41.605469 21.921875 38.308594 18.816406 C 35.007812 15.710938 31.738281 15.347656 31.738281 15.347656 C 31.738281 15.347656 36.960938 17 39.40625 22.003906 C 41.855469 27.007812 41.054688 30.226562 39.492188 32.183594 C 37.921875 34.140625 35.695312 34.367188 35.09375 33.859375 C 34.484375 33.359375 33.242188 36.160156 33.535156 36.6875 Z M 33.535156 36.6875 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(56.078434%,85.882354%,91.37255%);fill-opacity:1;" d="M 27.171875 18.730469 C 27.171875 18.730469 23.65625 18.703125 20.988281 20.464844 C 18.320312 22.226562 17.03125 23.65625 16.289062 24.773438 C 15.546875 25.890625 14.695312 27.429688 14.804688 27.402344 C 14.914062 27.375 18.019531 23.039062 20.4375 21.921875 C 22.859375 20.800781 25.277344 19.234375 28.601562 20.382812 C 31.929688 21.53125 33.5 23.125 34.210938 22.730469 C 34.925781 22.339844 35.0625 21.863281 34.652344 21.332031 C 34.238281 20.800781 31.324219 18.199219 27.171875 18.730469 Z M 27.171875 18.730469 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(99.215686%,47.843137%,100%);fill-opacity:1;" d="M 21.910156 41.078125 C 22.140625 41.199219 23.890625 44.242188 25.289062 44.757812 C 26.691406 45.273438 27.625 45.3125 27.78125 45.546875 C 27.9375 45.785156 27.898438 46.972656 29.140625 47.484375 C 30.382812 48 36.21875 49.625 37.890625 49.78125 C 39.5625 49.9375 38.160156 50.929688 39.171875 51.28125 C 40.179688 51.640625 44.5 51.835938 45.546875 51.402344 C 46.597656 50.96875 46.597656 51.796875 44.769531 52.507812 C 42.941406 53.21875 38.121094 54.921875 34.972656 54.527344 C 31.824219 54.132812 28.089844 53.460938 25.992188 51.957031 C 23.890625 50.453125 23 49.78125 23.773438 49.664062 C 24.554688 49.542969 26.613281 51.757812 27.507812 51.996094 C 28.402344 52.234375 29.140625 52.234375 28.59375 51.679688 C 28.050781 51.125 24.515625 48.671875 24.164062 48.792969 C 23.8125 48.910156 23.074219 48.988281 22.453125 48.160156 C 21.832031 47.328125 18.566406 42.742188 18.757812 40.289062 C 18.953125 37.835938 19.578125 38.46875 20.316406 39.378906 C 21.054688 40.289062 21.910156 41.078125 21.910156 41.078125 Z M 21.910156 41.078125 "/>
|
||||
</g>
|
||||
</svg>
|
After (image error) Size: 35 KiB |
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<vendor>Spark Store</vendor>
|
||||
<icon_name>x-package-repository</icon_name>
|
||||
<action id="store.spark-app.ss-do-upgrade">
|
||||
<description>运行ss-do-upgrade需要权限</description>
|
||||
<message>要使用ss-do-upgrade需要权限</message>
|
||||
<defaults>
|
||||
<allow_any>yes</allow_any>
|
||||
<allow_inactive>yes</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade.sh</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<action id="com.spark.update">
|
||||
<description>Run the Spark Update Tool</description>
|
||||
<message>Authentication is required to update the system</message>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/spark-update-tool</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
<defaults>
|
||||
<allow_active>yes</allow_active>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
</defaults>
|
||||
</action>
|
||||
</policyconfig>
|
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
TRANSHELL_CONTENT_HASH_CHECK_FAILED="Failed in checking package hash! \nPossibly reason can be the package is broken, laggy in sync of Spark Store repository, or, there is a malware attempt to attack. \nIf you don't know what happend, please try install again after execute the command below\n sudo aptss update\n\nIf the problem still happen, please click APP Feedback button in the APP information page to feedback to us.\n\n If you are in the Audition Group,Please use ssaudit instead of ssinstall to audit APPs,for ssinstall is used for password-free install now.\nIf you want to install an app that is removed from Spark Store repository,you can also use ssaudit."
|
||||
TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT="Please run ssinstall as root"
|
||||
TRANSHELL_CONTENT_FILE_NOT_EXIST="File not exist"
|
||||
TRANSHELL_CONTENT_WILL_NOT_DELETE_DEB="No delete after install option given, will not delete the deb"
|
||||
TRANSHELL_CONTENT_DEB_IS_DELETED="--delete-after-install option is given and the installation is succeeded, delete the deb file."
|
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
TRANSHELL_CONTENT_HASH_CHECK_FAILED="软件包校验失败!这不应该发生!\n可能是因为软件包已损坏,星火仓库未同步,或者最坏的情况:恶意软件尝试利用自动安装来入侵系统!\n如果你不清楚发生了什么,请执行 sudo aptss update 后再尝试安装。\n如果问题仍然存在,请在应用信息界面点击 应用反馈 来提交反馈给我们!\n\n 如果你是审核人员,请使用 ssaudit来替代ssinstall进行审核工作,因为现在ssinstall已经被用于免密安装。\n如果你正在尝试安装已经下架的星火应用,也可用ssaudit来替代ssinstall"
|
||||
TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT="请使用root启动ssinstall"
|
||||
TRANSHELL_CONTENT_FILE_NOT_EXIST="文件不存在"
|
||||
TRANSHELL_CONTENT_WILL_NOT_DELETE_DEB="未指定安装后删除或安装出错,不删除deb包"
|
||||
TRANSHELL_CONTENT_DEB_IS_DELETED="使用了--delete-after-install选项且安装未出错,删除deb包"
|
@ -79,3 +79,10 @@ INSTALLS += \
|
||||
fish_completion \
|
||||
polkit-1
|
||||
# 暂时不添加
|
||||
|
||||
SUBDIRS += src/spark-update-tool
|
||||
|
||||
spark-update-tool.subdir = src/spark-update-tool
|
||||
spark-update-tool.file = src/spark-update-tool/spark-update-tool.pro
|
||||
spark-update-tool.target = spark-update-tool
|
||||
spark-update-tool.depends = spark-store
|
||||
|
@ -35,14 +35,13 @@ Application::Application(int &argc, char **argv)
|
||||
setApplicationName("spark-store"); // 影响 ~/.config/spark-union ~/.local/share/spark-union 下文件夹名称
|
||||
setApplicationDisplayName(QObject::tr("Spark Store")); // 设置窗口显示标题 (Wayland 下会显示 Qt 原生标题栏)
|
||||
setProductName(QObject::tr("Spark Store"));
|
||||
setProductIcon(QIcon::fromTheme("spark-store"));
|
||||
setProductIcon(QIcon(":/icon/sparky.png"));
|
||||
setApplicationHomePage("https://gitee.com/spark-store-project");
|
||||
setApplicationDescription(
|
||||
QObject::tr(
|
||||
"<span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/>"
|
||||
"<a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/>"
|
||||
"<span style=' font-size:12pt;'>Spark developers</span>"));
|
||||
setApplicationLicense(" <a href='https://gitee.com/spark-store-project/spark-store/blob/Flamescion/LICENSE'>Spark Opensource License</a> ");
|
||||
"<span style=' font-size:10pt;font-weight:60;'>Sparky is our mascot, designed by <a href='https://tai3.cn/'>Tyson Tan</a></span><br/>"));
|
||||
setApplicationLicense(" <a href='https://gitee.com/spark-store-project/spark-store/blob/Flamescion/LICENSE'>GPL V3</a> ");
|
||||
|
||||
// 检查 ~/.config/spark-union/spark-store 文件夹是否存在
|
||||
checkAppConfigLocation();
|
||||
|
@ -44,6 +44,7 @@
|
||||
<file>icon/light/text.svg</file>
|
||||
<file>icon/light/update.svg</file>
|
||||
<file>icon/logo.svg</file>
|
||||
<file>icon/sparky.png</file>
|
||||
<file>json/features.json</file>
|
||||
<file>tags/a2d_full.svg</file>
|
||||
<file>tags/a2d.png</file>
|
||||
@ -72,6 +73,21 @@
|
||||
<file>tags/uos_full.svg</file>
|
||||
<file>tags/uos.png</file>
|
||||
<file>tags/uos.svg</file>
|
||||
<file>tags/amber-ce-bookworm_full.svg</file>
|
||||
<file>tags/amber-ce-bookworm.png</file>
|
||||
<file>tags/amber-ce-bookworm.svg</file>
|
||||
<file>tags/amber-ce-sid_full.svg</file>
|
||||
<file>tags/amber-ce-sid.png</file>
|
||||
<file>tags/amber-ce-sid.svg</file>
|
||||
<file>tags/amber-ce-trixie_full.svg</file>
|
||||
<file>tags/amber-ce-trixie.png</file>
|
||||
<file>tags/amber-ce-trixie.svg</file>
|
||||
<file>tags/native_full.svg</file>
|
||||
<file>tags/native.png</file>
|
||||
<file>tags/native.svg</file>
|
||||
<file>translations/qtwebengine_zh.qm</file>
|
||||
<file>tags/amber-ce-deepin_full.svg</file>
|
||||
<file>tags/amber-ce-deepin.svg</file>
|
||||
<file>tags/amber-ce-deepin.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
1
src/assets/icon/spark-store.svg
Normal file
After (image error) Size: 7.9 KiB |
BIN
src/assets/icon/sparky.png
Normal file
After ![]() (image error) Size: 401 KiB |
Before ![]() (image error) Size: 4.7 KiB After ![]() (image error) Size: 7.3 KiB ![]() ![]() |
BIN
src/assets/tags/amber-ce-bookworm.png
Normal file
After ![]() (image error) Size: 8.6 KiB |
1
src/assets/tags/amber-ce-bookworm.svg
Normal file
After (image error) Size: 22 KiB |
1
src/assets/tags/amber-ce-bookworm_full.svg
Normal file
After (image error) Size: 22 KiB |
BIN
src/assets/tags/amber-ce-deepin.png
Normal file
After ![]() (image error) Size: 8.1 KiB |
1
src/assets/tags/amber-ce-deepin.svg
Normal file
After (image error) Size: 18 KiB |
1
src/assets/tags/amber-ce-deepin_full.svg
Normal file
After (image error) Size: 19 KiB |
BIN
src/assets/tags/amber-ce-sid.png
Normal file
After ![]() (image error) Size: 7.9 KiB |
1
src/assets/tags/amber-ce-sid.svg
Normal file
After (image error) Size: 18 KiB |
1
src/assets/tags/amber-ce-sid_full.svg
Normal file
After (image error) Size: 18 KiB |
BIN
src/assets/tags/amber-ce-trixie.png
Normal file
After ![]() (image error) Size: 8.2 KiB |
1
src/assets/tags/amber-ce-trixie.svg
Normal file
After (image error) Size: 18 KiB |
1
src/assets/tags/amber-ce-trixie_full.svg
Normal file
After (image error) Size: 18 KiB |
Before ![]() (image error) Size: 5.7 KiB After ![]() (image error) Size: 11 KiB ![]() ![]() |
Before ![]() (image error) Size: 4.8 KiB After ![]() (image error) Size: 7.9 KiB ![]() ![]() |
Before ![]() (image error) Size: 5.0 KiB After ![]() (image error) Size: 9.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 4.9 KiB After ![]() (image error) Size: 6.9 KiB ![]() ![]() |
Before ![]() (image error) Size: 4.7 KiB After ![]() (image error) Size: 6.3 KiB ![]() ![]() |
Before ![]() (image error) Size: 4.5 KiB After ![]() (image error) Size: 6.0 KiB ![]() ![]() |
BIN
src/assets/tags/native.png
Normal file
After ![]() (image error) Size: 6.7 KiB |
1
src/assets/tags/native.svg
Normal file
After (image error) Size: 11 KiB |
1
src/assets/tags/native_full.svg
Normal file
After (image error) Size: 11 KiB |
Before ![]() (image error) Size: 5.0 KiB After ![]() (image error) Size: 7.7 KiB ![]() ![]() |
Before ![]() (image error) Size: 4.7 KiB After ![]() (image error) Size: 6.6 KiB ![]() ![]() |
@ -8,6 +8,8 @@
|
||||
#include <QSettings>
|
||||
#include <QProcess>
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
|
||||
DataCollectorAndUploader::DataCollectorAndUploader(QObject *parent) : QObject(parent)
|
||||
{
|
||||
@ -23,25 +25,26 @@ void DataCollectorAndUploader::collectData()
|
||||
QString distributor_id;
|
||||
QString release;
|
||||
QString architecture;
|
||||
|
||||
|
||||
QSettings config(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) + "/config.ini", QSettings::IniFormat);
|
||||
QString version = config.value("build/version").toString();
|
||||
QString uuid = config.value("info/uuid").toString();
|
||||
|
||||
|
||||
// Execute lsb_release --all and capture the output
|
||||
QProcess lsbProcess;
|
||||
lsbProcess.start("lsb_release", QStringList() << "--all");
|
||||
lsbProcess.waitForFinished();
|
||||
QString lsbOutput = lsbProcess.readAllStandardOutput();
|
||||
|
||||
QStringList lines = lsbOutput.split('\n');
|
||||
for (const QString &line : lines) {
|
||||
if (line.contains("Distributor ID:")) {
|
||||
distributor_id = line.split(":").last().trimmed();
|
||||
} else if (line.contains("Release:")) {
|
||||
release = line.split(":").last().trimmed();
|
||||
// Read /etc/os-release file
|
||||
QFile osReleaseFile("/etc/os-release");
|
||||
if (osReleaseFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
QTextStream in(&osReleaseFile);
|
||||
while (!in.atEnd()) {
|
||||
QString line = in.readLine();
|
||||
if (line.startsWith("ID=")) {
|
||||
distributor_id = line.mid(3).remove('"').trimmed();
|
||||
} else if (line.startsWith("VERSION_ID=")) {
|
||||
release = line.mid(11).remove('"').trimmed();
|
||||
}
|
||||
}
|
||||
osReleaseFile.close();
|
||||
} else {
|
||||
qWarning() << "Could not open /etc/os-release file";
|
||||
}
|
||||
|
||||
// Execute uname -m to get the architecture
|
||||
@ -58,15 +61,13 @@ void DataCollectorAndUploader::collectData()
|
||||
json.insert("Store_Version", version);
|
||||
json.insert("UUID", uuid);
|
||||
|
||||
|
||||
|
||||
// Convert to byte array
|
||||
QJsonDocument doc(json);
|
||||
QByteArray jsonData = doc.toJson();
|
||||
|
||||
// Initialize a network request
|
||||
QNetworkAccessManager *manager = new QNetworkAccessManager(this);
|
||||
QUrl url("https://status.deepinos.org.cn/upload");
|
||||
QUrl url("https://status.spark-app.store/upload");
|
||||
|
||||
QNetworkRequest request(url);
|
||||
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
|
||||
|
18
src/main.cpp
@ -142,18 +142,18 @@ int main(int argc, char *argv[])
|
||||
// 龙芯机器配置,使得 DApplication 能正确加载 QtWebEngine
|
||||
qputenv("DTK_FORCE_RASTER_WIDGETS", "FALSE");
|
||||
|
||||
// 设置 QtWebEngine 环境变量
|
||||
QStringList chromium_flags;
|
||||
// 浏览器开启 GPU 支持
|
||||
// qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-features=UseModernMediaControls");
|
||||
// qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-web-security");
|
||||
// chromium_flags.append("--disable-features=UseModernMediaControls");
|
||||
// chromium_flags.append("--disable-web-security");
|
||||
// 全平台软件渲染Webkit
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu");
|
||||
#ifdef __sw_64__
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox");
|
||||
chromium_flags.append("--disable-gpu");
|
||||
#if defined __sw_64__ || __loongarch__
|
||||
chromium_flags.append("--no-sandbox");
|
||||
#endif
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", chromium_flags.join(" ").toUtf8());
|
||||
|
||||
#ifdef __loongarch__
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox");
|
||||
#endif
|
||||
/**
|
||||
* NOTE: https://zhuanlan.zhihu.com/p/550285855
|
||||
* 避免 wayland 环境下从 QtWebEngine 后退回到 QWidget 时黑屏闪烁
|
||||
@ -163,8 +163,6 @@ int main(int argc, char *argv[])
|
||||
DApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
// 开启 Hidpi 支持
|
||||
qDebug() << "Enable HiDPI Support.";
|
||||
|
@ -345,7 +345,7 @@ void MainWindow::refreshTheme(bool isDarkMode)
|
||||
ui->applistpage->setTheme(isDarkMode);
|
||||
ui->applistpage_1->setTheme(isDarkMode);
|
||||
ui->appintopage->setTheme(isDarkMode);
|
||||
ui->settingspage->setTheme(isDarkMode);
|
||||
ui->settingspage->setTheme(isDarkMode);
|
||||
}
|
||||
|
||||
void MainWindow::initConnections()
|
||||
@ -551,13 +551,43 @@ void MainWindow::on_pushButton_14_clicked()
|
||||
QFile upgradeStatus("/tmp/spark-store/upgradeStatus.txt");
|
||||
if (!upgradeStatus.exists())
|
||||
{
|
||||
QtConcurrent::run([=]
|
||||
{
|
||||
auto upgradeP = new QProcess();
|
||||
upgradeP->startDetached("/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade.sh", QStringList());
|
||||
upgradeP->waitForStarted();
|
||||
upgradeP->waitForFinished(-1);
|
||||
upgradeP->deleteLater(); });
|
||||
}
|
||||
}
|
||||
QString appPath;
|
||||
|
||||
// 判断路径:开发环境 vs 安装后
|
||||
#ifdef QT_DEBUG
|
||||
appPath = QCoreApplication::applicationDirPath() +
|
||||
"/spark-update-tool/spark-update-tool";
|
||||
#else
|
||||
appPath = QStandardPaths::findExecutable("spark-update-tool");
|
||||
#endif
|
||||
|
||||
if (appPath.isEmpty()) {
|
||||
qWarning() << "spark-update-tool not found!";
|
||||
return;
|
||||
}
|
||||
|
||||
QProcess *process = new QProcess(this);
|
||||
|
||||
#ifdef QT_DEBUG
|
||||
// 开发模式:直接运行本地构建的更新器
|
||||
process->start(appPath, {"--silent"});
|
||||
#else
|
||||
// 安装模式:使用 pkexec 提权运行系统路径下的 spark-update-tool
|
||||
QString program = "pkexec";
|
||||
QStringList arguments;
|
||||
arguments << appPath << "--silent";
|
||||
process->start(program, arguments);
|
||||
#endif
|
||||
|
||||
QObject::connect(process, QOverload<int>::of(&QProcess::finished),
|
||||
[process](int exitCode) {
|
||||
if (exitCode == 0) {
|
||||
qDebug() << "Update check successful";
|
||||
} else {
|
||||
qWarning() << "Update check failed with exit code:" << exitCode;
|
||||
}
|
||||
process->deleteLater();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -151,24 +151,25 @@ void AppIntoPage::openUrl(const QUrl &url)
|
||||
{
|
||||
isInstalled = true;
|
||||
|
||||
QProcess isUpdate;
|
||||
isUpdate.start("dpkg-query", QStringList() << "--showformat='${Version}'"
|
||||
<< "--show" << info["Pkgname"].toString());
|
||||
isUpdate.waitForFinished(180 * 1000); // 默认超时 3 分钟
|
||||
QString localVersion = isUpdate.readAllStandardOutput();
|
||||
localVersion.replace("'", "");
|
||||
// QProcess isUpdate;
|
||||
// isUpdate.start("dpkg-query", QStringList() << "--showformat='${Version}'"
|
||||
// << "--show" << info["Pkgname"].toString());
|
||||
// isUpdate.waitForFinished(180 * 1000); // 默认超时 3 分钟
|
||||
// QString localVersion = isUpdate.readAllStandardOutput();
|
||||
// localVersion.replace("'", "");
|
||||
|
||||
isUpdate.start("dpkg", QStringList() << "--compare-versions" << localVersion << "ge" << info["Version"].toString());
|
||||
isUpdate.waitForFinished(180 * 1000); // 默认超时 3 分钟
|
||||
if (isUpdate.exitCode() == 0 && isUpdate.exitStatus() == QProcess::NormalExit)
|
||||
{
|
||||
isUpdated = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
isUpdated = false;
|
||||
}
|
||||
isUpdate.close();
|
||||
// isUpdate.start("dpkg", QStringList() << "--compare-versions" << localVersion << "ge" << info["Version"].toString());
|
||||
// isUpdate.waitForFinished(180 * 1000); // 默认超时 3 分钟
|
||||
// if (isUpdate.exitCode() == 0 && isUpdate.exitStatus() == QProcess::NormalExit)
|
||||
// {
|
||||
// isUpdated = true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// isUpdated = false;
|
||||
// }
|
||||
// isUpdate.close();
|
||||
isUpdated = true; //去掉直接点击升级的功能
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -234,6 +235,12 @@ void AppIntoPage::clear()
|
||||
ui->tag_debian->hide();
|
||||
ui->tag_ubuntu->hide();
|
||||
ui->tag_community->hide();
|
||||
ui->tag_native->hide();
|
||||
ui->tag_amber_ce_bookworm->hide();
|
||||
ui->tag_amber_ce_trixie->hide();
|
||||
ui->tag_amber_ce_sid->hide();
|
||||
ui->tag_amber_ce_deepin23->hide();
|
||||
|
||||
ui->icon->clear();
|
||||
ui->title->clear();
|
||||
ui->version->clear();
|
||||
@ -404,53 +411,87 @@ void AppIntoPage::setAppinfoTags(const QStringList &tagList)
|
||||
bool deepinSupport = false;
|
||||
bool uosSupport = false;
|
||||
bool debianSupport = false;
|
||||
bool hasAmberTag = false;
|
||||
|
||||
// First pass: Check if any Amber tags exist
|
||||
foreach (const QString &tag, tagList)
|
||||
{
|
||||
if (tag == "community")
|
||||
if (tag.startsWith("amber-ce-"))
|
||||
{
|
||||
ui->tag_community->show();
|
||||
}
|
||||
else if (tag == "debian")
|
||||
{
|
||||
ui->tag_debian->show();
|
||||
debianSupport = true;
|
||||
}
|
||||
else if (tag == "ubuntu")
|
||||
{
|
||||
ui->tag_ubuntu->show();
|
||||
ubuntuSupport = true;
|
||||
}
|
||||
else if (tag == "deepin")
|
||||
{
|
||||
ui->tag_deepin->show();
|
||||
deepinSupport = true;
|
||||
}
|
||||
else if (tag == "uos")
|
||||
{
|
||||
ui->tag_uos->show();
|
||||
uosSupport = true;
|
||||
|
||||
}
|
||||
else if (tag == "dtk5")
|
||||
{
|
||||
ui->tag_dtk5->show();
|
||||
}
|
||||
else if (tag == "dwine2")
|
||||
{
|
||||
ui->tag_dwine2->show();
|
||||
}
|
||||
else if (tag == "dwine5")
|
||||
{
|
||||
ui->tag_dwine5->show();
|
||||
}
|
||||
else if (tag == "a2d")
|
||||
{
|
||||
ui->tag_a2d->show();
|
||||
hasAmberTag = true;
|
||||
break; // No need to continue checking
|
||||
}
|
||||
}
|
||||
notifyUserUnsupportedTags(ubuntuSupport, deepinSupport, uosSupport ,debianSupport);
|
||||
|
||||
|
||||
// Second pass: Apply tags based on whether we have Amber tags
|
||||
foreach (const QString &tag, tagList)
|
||||
{
|
||||
if (tag.isEmpty())
|
||||
continue;
|
||||
|
||||
if (tag == "native")
|
||||
ui->tag_native->show();
|
||||
|
||||
else if (tag == "community")
|
||||
ui->tag_community->show();
|
||||
|
||||
else if (tag == "dtk5")
|
||||
ui->tag_dtk5->show();
|
||||
|
||||
else if (tag == "dwine2")
|
||||
ui->tag_dwine2->show();
|
||||
|
||||
else if (tag == "dwine5")
|
||||
ui->tag_dwine5->show();
|
||||
|
||||
else if (tag == "a2d")
|
||||
ui->tag_a2d->show();
|
||||
|
||||
else if (tag == "amber-ce-bookworm")
|
||||
ui->tag_amber_ce_bookworm->show();
|
||||
|
||||
else if (tag == "amber-ce-trixie")
|
||||
ui->tag_amber_ce_trixie->show();
|
||||
|
||||
else if (tag == "amber-ce-deepin23")
|
||||
ui->tag_amber_ce_deepin23->show();
|
||||
|
||||
else if (tag == "amber-ce-sid")
|
||||
ui->tag_amber_ce_sid->show();
|
||||
|
||||
// Only process distro tags if there are no Amber tags
|
||||
else if (!hasAmberTag)
|
||||
{
|
||||
if (tag == "debian")
|
||||
{
|
||||
ui->tag_debian->show();
|
||||
debianSupport = true;
|
||||
}
|
||||
else if (tag == "ubuntu")
|
||||
{
|
||||
ui->tag_ubuntu->show();
|
||||
ubuntuSupport = true;
|
||||
}
|
||||
else if (tag == "deepin")
|
||||
{
|
||||
ui->tag_deepin->show();
|
||||
deepinSupport = true;
|
||||
}
|
||||
else if (tag == "uos")
|
||||
{
|
||||
ui->tag_uos->show();
|
||||
uosSupport = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!hasAmberTag)
|
||||
notifyUserUnsupportedTags(ubuntuSupport, deepinSupport, uosSupport, debianSupport);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void AppIntoPage::notifyUserUnsupportedTags(bool ubuntuSupport, bool deepinSupport, bool uosSupport, bool debianSupport)
|
||||
{
|
||||
if (!SettingsPage::needUncompatibleNotification) {
|
||||
@ -536,7 +577,27 @@ void AppIntoPage::on_downloadButton_clicked()
|
||||
|
||||
emit clickedDownloadBtn();
|
||||
|
||||
DownloadItem *item = dw->addItem(info["Name"].toString(), info["Filename"].toString(), info["Pkgname"].toString(), iconpixmap, downloadUrl);
|
||||
// 处理 tags,设置 installExtraArg
|
||||
QString installExtraArg;
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
QStringList taglist = info["Tags"].toString().split(";", Qt::SkipEmptyParts);
|
||||
#else
|
||||
QStringList taglist = info["Tags"].toString().split(";", QString::SkipEmptyParts);
|
||||
#endif
|
||||
if (taglist.contains("native")) {
|
||||
installExtraArg = "--native";
|
||||
} else if (taglist.contains("amber-ce-bookworm")) {
|
||||
installExtraArg = "--amber-ce-bookworm";
|
||||
} else if (taglist.contains("amber-ce-trixie")) {
|
||||
installExtraArg = "--amber-ce-trixie";
|
||||
} else if (taglist.contains("amber-ce-sid")) {
|
||||
installExtraArg = "--amber-ce-sid";
|
||||
} else if (taglist.contains("amber-ce-deepin23")) {
|
||||
installExtraArg = "--amber-ce-deepin23";
|
||||
}
|
||||
|
||||
DownloadItem *item = dw->addItem(info["Name"].toString(), info["Filename"].toString(), info["Pkgname"].toString(),
|
||||
iconpixmap, downloadUrl, installExtraArg);
|
||||
if (item == nullptr)
|
||||
{
|
||||
return;
|
||||
@ -566,11 +627,11 @@ void AppIntoPage::on_pushButton_3_clicked()
|
||||
uninstall.waitForFinished(-1);
|
||||
uninstall.close();
|
||||
|
||||
QProcess check;
|
||||
check.start("dpkg", QStringList() << "-s" << info["Pkgname"].toString().toLower());
|
||||
check.waitForFinished(-1);
|
||||
// QProcess check;
|
||||
// check.start("dpkg", QStringList() << "-s" << info["Pkgname"].toString().toLower());
|
||||
// check.waitForFinished(-1);
|
||||
|
||||
if (check.exitCode() != 0 || check.exitStatus() != QProcess::NormalExit)
|
||||
if (uninstall.exitCode() != 0 || uninstall.exitStatus() != QProcess::NormalExit)
|
||||
{
|
||||
ui->downloadButton->setText(tr("Download and Install"));
|
||||
ui->pushButton_3->hide();
|
||||
@ -581,7 +642,7 @@ void AppIntoPage::on_pushButton_3_clicked()
|
||||
ui->downloadButton->setEnabled(true);
|
||||
ui->pushButton_3->setEnabled(true);
|
||||
|
||||
check.close();
|
||||
// check.close();
|
||||
});
|
||||
}
|
||||
|
||||
@ -597,4 +658,4 @@ void AppIntoPage::on_updateButton_clicked()
|
||||
{
|
||||
QString feedbackURL = "https://bbs.spark-app.store/";
|
||||
QProcess::startDetached("xdg-open", QStringList{feedbackURL});
|
||||
}
|
||||
}
|
||||
|
@ -385,14 +385,20 @@
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>184</width>
|
||||
<height>20</height>
|
||||
<width>13</width>
|
||||
<height>37</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_ubuntu">
|
||||
<widget class="CustomLabel" name="tag_ubuntu">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -411,7 +417,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_uos">
|
||||
<widget class="CustomLabel" name="tag_uos">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -430,7 +442,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_deepin">
|
||||
<widget class="CustomLabel" name="tag_deepin">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -449,7 +467,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_debian">
|
||||
<widget class="CustomLabel" name="tag_debian">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -467,6 +491,131 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="CustomLabel" name="tag_native">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>This app can only be installed natively</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>This app can only be installed natively</p></body></html></string>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../assets/assets.qrc">:/tags/native.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="CustomLabel" name="tag_amber_ce_bookworm">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>This app will be installed to debian12 ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>This app will be installed to debian12 ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../assets/assets.qrc">:/tags/amber-ce-bookworm.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="CustomLabel" name="tag_amber_ce_trixie">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>This app will be installed to debian13 ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>This app will be installed to debian13 ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../assets/assets.qrc">:/tags/amber-ce-trixie.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="CustomLabel" name="tag_amber_ce_sid">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>This app will be installed to debian SID ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>This app will be installed to debian SID ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../assets/assets.qrc">:/tags/amber-ce-sid.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="CustomLabel" name="tag_amber_ce_deepin23">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>This app will be installed to deepin23 ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>This app will be installed to deepin23 ACE</p></body></html></string>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../assets/assets.qrc">:/tags/amber-ce-deepin.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_5">
|
||||
<property name="orientation">
|
||||
@ -474,8 +623,8 @@
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>184</width>
|
||||
<height>20</height>
|
||||
<width>18</width>
|
||||
<height>37</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
@ -498,7 +647,13 @@
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_a2d">
|
||||
<widget class="CustomLabel" name="tag_a2d">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -517,7 +672,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_community">
|
||||
<widget class="CustomLabel" name="tag_community">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -536,7 +697,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_dtk5">
|
||||
<widget class="CustomLabel" name="tag_dtk5">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -555,7 +722,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_dwine2">
|
||||
<widget class="CustomLabel" name="tag_dwine2">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -574,7 +747,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_dwine5">
|
||||
<widget class="CustomLabel" name="tag_dwine5">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
@ -718,7 +897,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>524</width>
|
||||
<width>482</width>
|
||||
<height>601</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -1452,6 +1631,13 @@ QListWidget::item::selected
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>CustomLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>widgets/common/customlabel.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../assets/assets.qrc"/>
|
||||
</resources>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <QDebug>
|
||||
|
||||
#define TMP_PATH "/tmp/spark-store"
|
||||
#define DEFAULT_SERVER_URL "https://cdn.d.store.deepinos.org.cn/"
|
||||
#define DEFAULT_SERVER_URL "https://cdn-d.spark-app.store/"
|
||||
|
||||
|
||||
bool SettingsPage::needUncompatibleNotification = true;
|
||||
|
@ -47,6 +47,7 @@ SOURCES += \
|
||||
utils/utils.cpp \
|
||||
utils/widgetanimation.cpp \
|
||||
widgets/base/basewidgetopacity.cpp \
|
||||
widgets/common/customlabel.cpp \
|
||||
widgets/common/downloaditem.cpp \
|
||||
widgets/common/progressbutton.cpp \
|
||||
widgets/common/smoothlistwidget.cpp \
|
||||
@ -73,6 +74,7 @@ HEADERS += \
|
||||
utils/utils.h \
|
||||
utils/widgetanimation.h \
|
||||
widgets/base/basewidgetopacity.h \
|
||||
widgets/common/customlabel.h \
|
||||
widgets/common/downloaditem.h \
|
||||
widgets/common/progressbutton.h \
|
||||
widgets/common/smoothlistwidget.h \
|
||||
|
62
src/spark-update-tool/.gitignore
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
build
|
||||
.vscode
|
||||
.cache
|
||||
CMakeLists.txt.user
|
||||
CMakeLists.txt.user.*
|
||||
obj-x86_64-linux-gnu
|
||||
# C++ objects and libs
|
||||
*.slo
|
||||
*.lo
|
||||
*.o
|
||||
*.a
|
||||
*.la
|
||||
*.lai
|
||||
*.so
|
||||
*.dll
|
||||
*.dylib
|
||||
|
||||
# Qt-es
|
||||
object_script.*.Release
|
||||
object_script.*.Debug
|
||||
*_plugin_import.cpp
|
||||
/.qmake.cache
|
||||
/.qmake.stash
|
||||
*.pro.user
|
||||
*.pro.user.*
|
||||
*.qbs.user
|
||||
*.qbs.user.*
|
||||
*.moc
|
||||
moc_*.cpp
|
||||
moc_*.h
|
||||
qrc_*.cpp
|
||||
ui_*.h
|
||||
*.qmlc
|
||||
*.jsc
|
||||
Makefile*
|
||||
*build-*
|
||||
|
||||
# Qt unit tests
|
||||
target_wrapper.*
|
||||
|
||||
# Qt qm files
|
||||
translations/*.qm
|
||||
|
||||
# QtCreator
|
||||
*.autosave
|
||||
|
||||
# QtCreator Qml
|
||||
*.qmlproject.user
|
||||
*.qmlproject.user.*
|
||||
|
||||
# QtCreator CMake
|
||||
CMakeLists.txt.user*
|
||||
build
|
||||
|
||||
# Debian dpkg-buildpackage
|
||||
debian/*.debhelper*
|
||||
debian/files
|
||||
debian/*.substvars
|
||||
debian/spark-update-tool
|
||||
|
||||
.vscode/*
|
||||
src/spark-update-tool
|
58
src/spark-update-tool/CMakeLists.txt
Normal file
@ -0,0 +1,58 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(spark-update-tool VERSION 0.1 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
|
||||
find_package(Qt5 REQUIRED COMPONENTS Widgets Network Concurrent)
|
||||
|
||||
|
||||
find_package(Qt5 REQUIRED COMPONENTS Widgets Network Concurrent Core Gui)
|
||||
|
||||
# 定义所有项目源文件,现在无需条件判断
|
||||
set(PROJECT_SOURCES
|
||||
src/main.cpp
|
||||
src/mainwindow.cpp
|
||||
src/mainwindow.h
|
||||
src/mainwindow.ui
|
||||
src/aptssupdater.h src/aptssupdater.cpp
|
||||
src/icons.qrc
|
||||
src/appdelegate.h src/appdelegate.cpp
|
||||
src/applistmodel.h src/applistmodel.cpp
|
||||
src/downloadmanager.h src/downloadmanager.cpp
|
||||
)
|
||||
|
||||
|
||||
add_executable(spark-update-tool
|
||||
${PROJECT_SOURCES}
|
||||
)
|
||||
|
||||
target_link_libraries(spark-update-tool PRIVATE
|
||||
Qt5::Widgets
|
||||
Qt5::Network
|
||||
Qt5::Concurrent
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
)
|
||||
|
||||
|
||||
set_target_properties(spark-update-tool PROPERTIES
|
||||
# ${BUNDLE_ID_OPTION} # 如果上面取消注释,这里也取消注释
|
||||
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
||||
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
|
||||
|
||||
)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
install(TARGETS spark-update-tool
|
||||
BUNDLE DESTINATION .
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
674
src/spark-update-tool/LICENSE
Normal file
@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
21
src/spark-update-tool/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
### Spark Software Updater
|
||||
|
||||
#### Introduction
|
||||
|
||||
Welcome to Spark Software Updater! This tool helps you conveniently update various applications on your Linux system.
|
||||
|
||||
This version is specifically designed for Linux distributions with Qt5 support.
|
||||
**Please run with root privileges (recommended to use `sudo`).**
|
||||
|
||||
#### Currently Supported Linux Distributions
|
||||
|
||||
- [x] GXDE OS
|
||||
- [x] Ubuntu
|
||||
- [x] deepin
|
||||
- [ ] Kylin
|
||||
|
||||
// ... existing Chinese feature table ...
|
||||
|
||||
#### Contact & Feedback
|
||||
|
||||
For any issues or suggestions, please contact: momen@momen.world
|
30
src/spark-update-tool/README.zh.md
Normal file
@ -0,0 +1,30 @@
|
||||
### 星火软件更新器
|
||||
|
||||
#### 简介
|
||||
|
||||
欢迎使用星火软件更新器!本工具可帮助您便捷地更新 Linux 计算机上的各类程序。
|
||||
|
||||
本版本专为仅包含 Qt5 的 Linux 发行版设计。
|
||||
**请在 root 权限下运行本程序。**
|
||||
|
||||
#### 当前支持的 Linux 发行版
|
||||
|
||||
- [x] GXDE OS
|
||||
- [x] Ubuntu
|
||||
- [x] deepin
|
||||
- [ ] Kylin
|
||||
|
||||
#### 功能清单
|
||||
|
||||
| 功能模块 | 描述 |
|
||||
|------------------|--------------------------------------|
|
||||
| 应用名识别 | 基于 `ss-do-upgrade.sh` 部分代码实现 |
|
||||
| 应用包大小识别 | 通过 dpkg 获取包大小信息 |
|
||||
| 获取应用图标 | 利用 QDesktopServices 实现 |
|
||||
| 支持 ACE 兼容环境| |
|
||||
| 多线程下载 | 基于 aptss 方案 |
|
||||
|
||||
如您已安装星火应用商店,则会附带本程序。
|
||||
#### 联系与反馈
|
||||
|
||||
如有问题或建议,欢迎联系:momen@momen.world
|
5
src/spark-update-tool/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
spark-update-tool (1.0.0) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- momen <vmomenv@gmail.com> Wed, 18 Jun 2025 00:00:00 +0000
|
1
src/spark-update-tool/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
9
|
13
src/spark-update-tool/debian/control
Normal file
@ -0,0 +1,13 @@
|
||||
Source: spark-update-tool
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: momen <vmomenv@gmail.com>
|
||||
Build-Depends: debhelper (>= 9)
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: https://gitee.com/spark-store-project/Spark-Update-Tool
|
||||
|
||||
Package: spark-update-tool
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Spark Update Tool
|
||||
星火应用商店更新组件。This package provides the Spark Update Tool. It includes features for checking for updates, downloading, and applying them seamlessly.
|
7
src/spark-update-tool/debian/copyright
Normal file
@ -0,0 +1,7 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: spark-update-tool
|
||||
Source: https://gitee.com/spark-store-project/Spark-Update-Tool
|
||||
|
||||
Files: *
|
||||
Copyright: 2025, momen <vmomenv@gmail.com>
|
||||
License: GPL-3.0+
|
3
src/spark-update-tool/debian/install
Normal file
@ -0,0 +1,3 @@
|
||||
build/spark-update-tool /usr/bin/
|
||||
debian/spark-update-tool.desktop /usr/share/applications
|
||||
resources/128*128/spark-update-tool.png /usr/share/icons/hicolor/128x128/apps
|
11
src/spark-update-tool/debian/postrm
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
|
||||
rm -rf /usr/share/spark-update-tool
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
7
src/spark-update-tool/debian/rules
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr
|
1
src/spark-update-tool/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
9
src/spark-update-tool/debian/spark-update-tool.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Spark Update Tool
|
||||
Comment=A Qt-based application for managing and updating software
|
||||
Exec=spark-update-tool
|
||||
Icon=spark-update-tool
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;
|
BIN
src/spark-update-tool/resources/128*128/spark-update-tool.png
Normal file
After ![]() (image error) Size: 8.9 KiB |
1
src/spark-update-tool/resources/default_icon.svg
Normal file
After (image error) Size: 86 KiB |
1
src/spark-update-tool/resources/down_arrow.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="16" viewBox="0 0 12 16"><defs><clipPath id="master_svg0_1_074"><rect x="0.75" y="2" width="10.5" height="12" rx="0"/></clipPath></defs><g><rect x="0" y="0" width="12" height="16" rx="0" fill="#000000" fill-opacity="0" style="mix-blend-mode:passthrough"/><g clip-path="url(#master_svg0_1_074)"><g transform="matrix(1,0,0,-1,0,24.015625)"><g><path d="M4.71094,12.2187505Q4.94531,12.0078125,5.25,12.0078125Q5.55469,12.0078125,5.78906,12.2187505L10.2891,16.7187525Q10.5,16.9531225,10.5,17.2578125Q10.5,17.5625025,10.2891,17.7968725Q10.0547,18.0078125,9.75,18.0078125Q9.44531,18.0078125,9.21094,17.7968725L5.25,13.8125025L1.28906,17.7968725Q1.05469,18.0078125,0.75,18.0078125Q0.445312,18.0078125,0.210938,17.7968725Q0,17.5625025,0,17.2578125Q0,16.9531225,0.210938,16.7187525L4.71094,12.2187505Z" fill="#4B5563" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></g></g></svg>
|
After (image error) Size: 1009 B |
1
src/spark-update-tool/resources/spark-update-tool.svg
Normal file
After (image error) Size: 14 KiB |
48
src/spark-update-tool/spark-update-tool.pro
Normal file
@ -0,0 +1,48 @@
|
||||
# spark-update-tool.pro
|
||||
QT += core gui widgets network concurrent
|
||||
TARGET = spark-update-tool
|
||||
TEMPLATE = app
|
||||
|
||||
# Set C++ standard to C++17
|
||||
CONFIG += c++17
|
||||
|
||||
# Enable auto features (uic, moc, rcc)
|
||||
CONFIG += qt warn_on release
|
||||
QT_CONFIG += no-pkg-config
|
||||
|
||||
# Version info (replace with your actual version)
|
||||
VERSION = 0.1.0
|
||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||
|
||||
# Source files
|
||||
SOURCES += \
|
||||
src/main.cpp \
|
||||
src/mainwindow.cpp \
|
||||
src/aptssupdater.cpp \
|
||||
src/appdelegate.cpp \
|
||||
src/applistmodel.cpp \
|
||||
src/downloadmanager.cpp
|
||||
|
||||
HEADERS += \
|
||||
src/mainwindow.h \
|
||||
src/aptssupdater.h \
|
||||
src/appdelegate.h \
|
||||
src/applistmodel.h \
|
||||
src/downloadmanager.h
|
||||
|
||||
FORMS += \
|
||||
src/mainwindow.ui
|
||||
|
||||
RESOURCES += \
|
||||
src/icons.qrc
|
||||
|
||||
# macOS bundle properties (optional)
|
||||
macx {
|
||||
QMAKE_INFO_PLIST = Info.plist
|
||||
ICON = resources/spark-update-tool.icns
|
||||
BUNDLE_IDENTIFIER = org.spark.store.update-tool
|
||||
}
|
||||
|
||||
# Installation paths (matches CMake install)
|
||||
target.path = $$[QT_INSTALL_BINS]
|
||||
INSTALLS += target
|
322
src/spark-update-tool/src/appdelegate.cpp
Normal file
@ -0,0 +1,322 @@
|
||||
#include "appdelegate.h"
|
||||
#include <QIcon>
|
||||
#include <QDebug>
|
||||
#include <QApplication>
|
||||
#include <QDir>
|
||||
#include <QProgressBar>
|
||||
#include <QPushButton>
|
||||
#include <QPainter>
|
||||
#include <QMouseEvent>
|
||||
|
||||
AppDelegate::AppDelegate(QObject *parent)
|
||||
: QStyledItemDelegate(parent), m_downloadManager(new DownloadManager(this)), m_installProcess(nullptr) {
|
||||
connect(m_downloadManager, &DownloadManager::downloadFinished, this,
|
||||
[this](const QString &packageName, bool success) {
|
||||
if (m_downloads.contains(packageName)) {
|
||||
m_downloads[packageName].isDownloading = false;
|
||||
emit updateDisplay(packageName);
|
||||
qDebug() << (success ? "下载完成:" : "下载失败:") << packageName;
|
||||
if (success) {
|
||||
enqueueInstall(packageName);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
connect(m_downloadManager, &DownloadManager::downloadProgress, this,
|
||||
[this](const QString &packageName, int progress) {
|
||||
if (m_downloads.contains(packageName)) {
|
||||
m_downloads[packageName].progress = progress;
|
||||
qDebug()<<progress;
|
||||
emit updateDisplay(packageName); // 实时刷新进度条
|
||||
}
|
||||
});
|
||||
m_spinnerTimer.start();
|
||||
}
|
||||
|
||||
void AppDelegate::setModel(QAbstractItemModel *model) {
|
||||
m_model = model;
|
||||
}
|
||||
|
||||
void AppDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const {
|
||||
painter->save();
|
||||
|
||||
if (option.state & QStyle::State_Selected)
|
||||
painter->fillRect(option.rect, option.palette.highlight());
|
||||
else
|
||||
painter->fillRect(option.rect, QColor("#F3F4F6"));
|
||||
|
||||
QFont boldFont = option.font;
|
||||
boldFont.setBold(true);
|
||||
QFont normalFont = option.font;
|
||||
|
||||
QString name = index.data(Qt::DisplayRole).toString();
|
||||
QString currentVersion = index.data(Qt::UserRole + 2).toString();
|
||||
QString newVersion = index.data(Qt::UserRole + 3).toString();
|
||||
QString iconPath = index.data(Qt::UserRole + 4).toString();
|
||||
QString size = index.data(Qt::UserRole + 5).toString();
|
||||
QString description = index.data(Qt::UserRole + 6).toString();
|
||||
|
||||
QRect rect = option.rect;
|
||||
int margin = 10, spacing = 6, iconSize = 40;
|
||||
|
||||
QRect iconRect(rect.left() + margin, rect.top() + (rect.height() - iconSize) / 2, iconSize, iconSize);
|
||||
QIcon(iconPath).paint(painter, iconRect);
|
||||
|
||||
int textX = iconRect.right() + margin;
|
||||
int textWidth = rect.width() - textX - 100;
|
||||
|
||||
QRect nameRect(textX, rect.top() + margin, textWidth, 20);
|
||||
painter->setFont(boldFont);
|
||||
painter->setPen(QColor("#333333"));
|
||||
painter->drawText(nameRect, Qt::AlignLeft | Qt::AlignVCenter, name);
|
||||
|
||||
QRect versionRect(textX, nameRect.bottom() + spacing, textWidth, 20);
|
||||
painter->setFont(normalFont);
|
||||
painter->setPen(QColor("#888888"));
|
||||
painter->drawText(versionRect, Qt::AlignLeft | Qt::AlignVCenter,
|
||||
QString("当前版本: %1 → 新版本: %2").arg(currentVersion, newVersion));
|
||||
|
||||
QRect descRect(textX, versionRect.bottom() + spacing, textWidth, 40);
|
||||
painter->setFont(normalFont);
|
||||
painter->setPen(QColor("#AAAAAA"));
|
||||
painter->drawText(descRect, Qt::TextWordWrap,
|
||||
QString("包大小:%1 MB").arg(QString::number(size.toDouble() / (1024 * 1024), 'f', 2)));
|
||||
|
||||
QString packageName = index.data(Qt::UserRole + 1).toString();
|
||||
bool isDownloading = m_downloads.contains(packageName) && m_downloads[packageName].isDownloading;
|
||||
int progress = m_downloads.value(packageName, DownloadInfo{0, false}).progress;
|
||||
bool isInstalled = m_downloads.value(packageName).isInstalled;
|
||||
bool isInstalling = m_downloads.value(packageName).isInstalling;
|
||||
|
||||
if (isDownloading) {
|
||||
QRect progressRect(rect.right() - 270, rect.top() + (rect.height() - 20) / 2, 150, 20);
|
||||
QStyleOptionProgressBar progressBarOption;
|
||||
progressBarOption.rect = progressRect;
|
||||
progressBarOption.minimum = 0;
|
||||
progressBarOption.maximum = 100;
|
||||
progressBarOption.progress = progress;
|
||||
progressBarOption.text = QString("%1%").arg(progress);
|
||||
progressBarOption.textVisible = true;
|
||||
QApplication::style()->drawControl(QStyle::CE_ProgressBar, &progressBarOption, painter);
|
||||
|
||||
// 修改后的取消按钮绘制代码
|
||||
QRect buttonRect(rect.right() - 80, rect.top() + (rect.height() - 30) / 2, 70, 30);
|
||||
painter->setPen(Qt::NoPen);
|
||||
painter->setBrush(QColor("#ff4444")); // 红色背景
|
||||
painter->drawRoundedRect(buttonRect, 4, 4); // 圆角矩形
|
||||
|
||||
painter->setPen(Qt::white); // 白色文字
|
||||
painter->setFont(option.font);
|
||||
painter->drawText(buttonRect, Qt::AlignCenter, "取消");
|
||||
} else if (isInstalling) {
|
||||
// 安装中:显示转圈和文字
|
||||
QRect spinnerRect(option.rect.right() - 80, option.rect.top() + (option.rect.height() - 30) / 2, 30, 30);
|
||||
int angle = (m_spinnerTimer.elapsed() / 10) % 360;
|
||||
QPen pen(QColor("#2563EB"), 3);
|
||||
painter->setPen(pen);
|
||||
painter->setRenderHint(QPainter::Antialiasing, true);
|
||||
QRectF arcRect = spinnerRect.adjusted(3, 3, -3, -3);
|
||||
painter->drawArc(arcRect, angle * 16, 120 * 16); // 120度弧
|
||||
|
||||
QRect textRect(option.rect.right() - 120, option.rect.top() + (option.rect.height() - 30) / 2, 110, 30);
|
||||
painter->setPen(QColor("#2563EB"));
|
||||
painter->setFont(option.font);
|
||||
painter->drawText(textRect, Qt::AlignLeft | Qt::AlignVCenter, "正在安装中");
|
||||
} else {
|
||||
QRect buttonRect(option.rect.right() - 80, option.rect.top() + (option.rect.height() - 30) / 2, 70, 30);
|
||||
painter->setPen(Qt::NoPen);
|
||||
if (isInstalled) {
|
||||
painter->setBrush(QColor("#10B981"));
|
||||
painter->drawRoundedRect(buttonRect, 4, 4);
|
||||
painter->setPen(Qt::white);
|
||||
painter->drawText(buttonRect, Qt::AlignCenter, "已安装");
|
||||
} else if (m_downloads.contains(packageName) && !m_downloads[packageName].isDownloading) {
|
||||
// 下载完成,按钮绿色,样式不变
|
||||
painter->setBrush(QColor("#10B981"));
|
||||
painter->drawRoundedRect(buttonRect, 4, 4);
|
||||
painter->setPen(Qt::white);
|
||||
painter->drawText(buttonRect, Qt::AlignCenter, "下载完成");
|
||||
// 不需要特殊处理样式,交互在 editorEvent 控制
|
||||
} else {
|
||||
painter->setBrush(QColor("#e9effd"));
|
||||
painter->drawRoundedRect(buttonRect, 4, 4);
|
||||
painter->setPen(QColor("#2563EB"));
|
||||
painter->drawText(buttonRect, Qt::AlignCenter, "更新");
|
||||
}
|
||||
}
|
||||
|
||||
painter->restore();
|
||||
}
|
||||
|
||||
QSize AppDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const {
|
||||
return QSize(option.rect.width(), 110);
|
||||
}
|
||||
|
||||
bool AppDelegate::editorEvent(QEvent *event, QAbstractItemModel *model,
|
||||
const QStyleOptionViewItem &option, const QModelIndex &index) {
|
||||
if (event->type() == QEvent::MouseButtonRelease) {
|
||||
QMouseEvent *mouseEvent = static_cast<QMouseEvent *>(event);
|
||||
QRect rect = option.rect;
|
||||
QString packageName = index.data(Qt::UserRole + 1).toString();
|
||||
|
||||
if (m_downloads.contains(packageName) && m_downloads[packageName].isDownloading) {
|
||||
QRect cancelButtonRect(rect.right() - 70, rect.top() + (rect.height() - 20) / 2, 60, 20);
|
||||
if (cancelButtonRect.contains(mouseEvent->pos())) {
|
||||
m_downloadManager->cancelDownload(packageName);
|
||||
m_downloads.remove(packageName);
|
||||
emit updateDisplay(packageName);
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
QRect buttonRect(rect.right() - 80, rect.top() + (rect.height() - 30) / 2, 70, 30);
|
||||
if (buttonRect.contains(mouseEvent->pos())) {
|
||||
// 判断是否为“下载完成”状态,如果是则不响应点击
|
||||
if (m_downloads.contains(packageName) && !m_downloads[packageName].isDownloading) {
|
||||
// “下载完成”状态,按钮失效,点击无效
|
||||
return false;
|
||||
}
|
||||
QString downloadUrl = index.data(Qt::UserRole + 7).toString();
|
||||
QString outputPath = QString("%1/%2.metalink").arg(QDir::tempPath(), packageName);
|
||||
|
||||
m_downloads[packageName] = {0, true};
|
||||
m_downloadManager->startDownload(packageName, downloadUrl, outputPath);
|
||||
emit updateDisplay(packageName);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return QStyledItemDelegate::editorEvent(event, model, option, index);
|
||||
}
|
||||
|
||||
void AppDelegate::startDownloadForAll() {
|
||||
if (!m_model) return;
|
||||
for (int row = 0; row < m_model->rowCount(); ++row) {
|
||||
QModelIndex index = m_model->index(row, 0);
|
||||
QString packageName = index.data(Qt::UserRole + 1).toString();
|
||||
if (m_downloads.contains(packageName) && (m_downloads[packageName].isDownloading || m_downloads[packageName].isInstalled))
|
||||
continue; // 跳过正在下载或已安装的
|
||||
QString downloadUrl = index.data(Qt::UserRole + 7).toString();
|
||||
QString outputPath = QString("%1/%2.metalink").arg(QDir::tempPath(), packageName);
|
||||
m_downloads[packageName] = {0, true, false};
|
||||
m_downloadManager->startDownload(packageName, downloadUrl, outputPath);
|
||||
emit updateDisplay(packageName);
|
||||
}
|
||||
}
|
||||
|
||||
// 新增:安装队列相关实现
|
||||
void AppDelegate::enqueueInstall(const QString &packageName) {
|
||||
m_installQueue.enqueue(packageName);
|
||||
if (!m_isInstalling) {
|
||||
startNextInstall();
|
||||
}
|
||||
}
|
||||
|
||||
void AppDelegate::startNextInstall() {
|
||||
if (m_installQueue.isEmpty()) {
|
||||
m_isInstalling = false;
|
||||
m_installingPackage.clear();
|
||||
return;
|
||||
}
|
||||
m_isInstalling = true;
|
||||
QString packageName = m_installQueue.dequeue();
|
||||
m_installingPackage = packageName;
|
||||
m_downloads[packageName].isInstalling = true;
|
||||
emit updateDisplay(packageName);
|
||||
|
||||
// 查找 /tmp 下以包名开头的 .deb 文件
|
||||
QDir tempDir(QDir::tempPath());
|
||||
QStringList debs = tempDir.entryList(QStringList() << QString("%1_*.deb").arg(packageName), QDir::Files);
|
||||
QString debPath;
|
||||
if (!debs.isEmpty()) {
|
||||
debPath = tempDir.absoluteFilePath(debs.first());
|
||||
} else {
|
||||
debs = tempDir.entryList(QStringList() << QString("%1*.deb").arg(packageName), QDir::Files);
|
||||
if (!debs.isEmpty()) {
|
||||
debPath = tempDir.absoluteFilePath(debs.first());
|
||||
}
|
||||
}
|
||||
|
||||
if (debPath.isEmpty()) {
|
||||
qWarning() << "未找到deb文件,包名:" << packageName;
|
||||
m_downloads[packageName].isInstalling = false;
|
||||
emit updateDisplay(packageName);
|
||||
m_installingPackage.clear();
|
||||
startNextInstall();
|
||||
return;
|
||||
}
|
||||
|
||||
m_installProcess = new QProcess(this);
|
||||
|
||||
// 新增:准备安装日志文件
|
||||
QString logPath = QString("/tmp/%1_install.log").arg(packageName);
|
||||
QFile *logFile = new QFile(logPath, m_installProcess);
|
||||
if (logFile->open(QIODevice::Append | QIODevice::Text)) {
|
||||
// 设置权限为777
|
||||
QFile::setPermissions(logPath, QFile::ReadOwner | QFile::WriteOwner | QFile::ExeOwner |
|
||||
QFile::ReadGroup | QFile::WriteGroup | QFile::ExeGroup |
|
||||
QFile::ReadOther | QFile::WriteOther | QFile::ExeOther);
|
||||
connect(m_installProcess, &QProcess::readyReadStandardOutput, this, [this, packageName, logFile]() {
|
||||
QByteArray out = m_installProcess->readAllStandardOutput();
|
||||
logFile->write(out);
|
||||
logFile->flush();
|
||||
QString text = QString::fromLocal8Bit(out);
|
||||
qDebug().noquote() << text;
|
||||
// 检查“软件包已安装”关键字
|
||||
if (text.contains(QStringLiteral("软件包已安装"))) {
|
||||
m_downloads[packageName].isInstalling = false;
|
||||
m_downloads[packageName].isInstalled = true;
|
||||
emit updateDisplay(packageName);
|
||||
}
|
||||
});
|
||||
connect(m_installProcess, &QProcess::readyReadStandardError, this, [this, logFile]() {
|
||||
QByteArray err = m_installProcess->readAllStandardError();
|
||||
logFile->write(err);
|
||||
logFile->flush();
|
||||
qDebug().noquote() << QString::fromLocal8Bit(err);
|
||||
});
|
||||
connect(m_installProcess, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished),
|
||||
this, [this, packageName, logFile](int exitCode, QProcess::ExitStatus status) {
|
||||
if (logFile) logFile->close();
|
||||
m_downloads[packageName].isInstalling = false;
|
||||
if (exitCode == 0) {
|
||||
m_downloads[packageName].isInstalled = true; // 安装成功
|
||||
}
|
||||
emit updateDisplay(packageName);
|
||||
m_installProcess->deleteLater();
|
||||
m_installProcess = nullptr;
|
||||
m_installingPackage.clear();
|
||||
startNextInstall();
|
||||
});
|
||||
|
||||
} else {
|
||||
// 日志文件无法打开时,仍然要连接原有信号
|
||||
connect(m_installProcess, &QProcess::readyReadStandardOutput, this, [this, packageName]() {
|
||||
QByteArray out = m_installProcess->readAllStandardOutput();
|
||||
QString text = QString::fromLocal8Bit(out);
|
||||
qDebug().noquote() << text;
|
||||
if (text.contains(QStringLiteral("软件包已安装"))) {
|
||||
m_downloads[packageName].isInstalling = false;
|
||||
m_downloads[packageName].isInstalled = true;
|
||||
emit updateDisplay(packageName);
|
||||
}
|
||||
});
|
||||
connect(m_installProcess, &QProcess::readyReadStandardError, this, [this]() {
|
||||
QByteArray err = m_installProcess->readAllStandardError();
|
||||
qDebug().noquote() << QString::fromLocal8Bit(err);
|
||||
});
|
||||
connect(m_installProcess, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished),
|
||||
this, [this, packageName](int /*exitCode*/, QProcess::ExitStatus /*status*/) {
|
||||
emit updateDisplay(packageName);
|
||||
m_installProcess->deleteLater();
|
||||
m_installProcess = nullptr;
|
||||
m_installingPackage.clear();
|
||||
startNextInstall();
|
||||
});
|
||||
}
|
||||
|
||||
// 注意参数顺序:deb路径在前,--no-create-desktop-entry在后
|
||||
QStringList args;
|
||||
args << debPath << "--no-create-desktop-entry";
|
||||
m_installProcess->start("ssinstall", args);
|
||||
}
|
46
src/spark-update-tool/src/appdelegate.h
Normal file
@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
#include <QHash>
|
||||
#include <QQueue>
|
||||
#include <QProcess>
|
||||
#include <QElapsedTimer>
|
||||
#include "downloadmanager.h"
|
||||
|
||||
struct DownloadInfo {
|
||||
int progress = 0;
|
||||
bool isDownloading = false;
|
||||
bool isInstalled = false;
|
||||
bool isInstalling = false; // 新增:标记是否正在安装
|
||||
};
|
||||
|
||||
class AppDelegate : public QStyledItemDelegate {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AppDelegate(QObject *parent = nullptr);
|
||||
|
||||
void setModel(QAbstractItemModel *model);
|
||||
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||
bool editorEvent(QEvent *event, QAbstractItemModel *model,
|
||||
const QStyleOptionViewItem &option, const QModelIndex &index) override;
|
||||
void startDownloadForAll();
|
||||
|
||||
signals:
|
||||
void updateDisplay(const QString &packageName);
|
||||
|
||||
private:
|
||||
DownloadManager *m_downloadManager;
|
||||
QHash<QString, DownloadInfo> m_downloads;
|
||||
QAbstractItemModel *m_model = nullptr;
|
||||
|
||||
QQueue<QString> m_installQueue;
|
||||
bool m_isInstalling = false;
|
||||
QProcess *m_installProcess = nullptr;
|
||||
QString m_installingPackage; // 当前正在安装的包名
|
||||
QElapsedTimer m_spinnerTimer; // 用于转圈动画
|
||||
|
||||
void enqueueInstall(const QString &packageName);
|
||||
void startNextInstall();
|
||||
};
|
63
src/spark-update-tool/src/applistmodel.cpp
Normal file
@ -0,0 +1,63 @@
|
||||
#include "applistmodel.h"
|
||||
#include <QDebug>
|
||||
|
||||
AppListModel::AppListModel(QObject *parent) : QAbstractListModel(parent) {}
|
||||
|
||||
int AppListModel::rowCount(const QModelIndex &parent) const
|
||||
{
|
||||
if (parent.isValid())
|
||||
return 0;
|
||||
return m_data.size();
|
||||
}
|
||||
|
||||
QVariant AppListModel::data(const QModelIndex &index, int role) const
|
||||
{
|
||||
if (!index.isValid() || index.row() >= m_data.size())
|
||||
return QVariant();
|
||||
|
||||
const QVariantMap &map = m_data.at(index.row()); // 直接访问 QVariantMap
|
||||
switch (role) {
|
||||
case Qt::DisplayRole:
|
||||
return map.value("name");
|
||||
case Qt::UserRole + 1: // 包名
|
||||
return map.value("package");
|
||||
case Qt::UserRole + 2: // 当前版本
|
||||
return map.value("current_version");
|
||||
case Qt::UserRole + 3: // 新版本
|
||||
return map.value("new_version");
|
||||
case Qt::UserRole + 4: // 图标路径
|
||||
return map.value("icon");
|
||||
case Qt::UserRole + 5: // 文件大小
|
||||
return map.value("size");
|
||||
case Qt::UserRole + 6: // 描述
|
||||
return map.value("description");
|
||||
case Qt::UserRole + 7: // 下载 URL
|
||||
return map.value("download_url"); // 返回下载 URL
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
|
||||
void AppListModel::setUpdateData(const QJsonArray &updateInfo)
|
||||
{
|
||||
beginResetModel();
|
||||
m_data.clear(); // 清空 QList<QVariantMap>
|
||||
|
||||
for (const auto &item : updateInfo) {
|
||||
QJsonObject obj = item.toObject();
|
||||
QVariantMap map;
|
||||
map["package"] = obj["package"].toString();
|
||||
map["name"] = obj["name"].toString();
|
||||
map["current_version"] = obj["current_version"].toString();
|
||||
map["new_version"] = obj["new_version"].toString();
|
||||
map["icon"] = obj["icon"].toString();
|
||||
map["size"] = obj["size"].toString();
|
||||
map["download_url"] = obj["download_url"].toString(); // 确保设置下载 URL
|
||||
m_data.append(map); // 添加到 QList<QVariantMap>
|
||||
|
||||
qDebug() << "设置到模型的包名:" << map["package"].toString();
|
||||
qDebug() << "设置到模型的下载 URL:" << map["download_url"].toString(); // 检查设置的数据
|
||||
}
|
||||
|
||||
endResetModel();
|
||||
}
|
26
src/spark-update-tool/src/applistmodel.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef APPLISTMODEL_H
|
||||
#define APPLISTMODEL_H
|
||||
|
||||
#include <QAbstractListModel>
|
||||
#include <QJsonArray>
|
||||
// 添加 QJsonObject 头文件
|
||||
#include <QJsonObject>
|
||||
|
||||
class AppListModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AppListModel(QObject *parent = nullptr);
|
||||
|
||||
// 重写方法
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
// 设置更新数据
|
||||
void setUpdateData(const QJsonArray &data);
|
||||
|
||||
private:
|
||||
QList<QVariantMap> m_data; // 修改类型为 QList<QVariantMap>
|
||||
};
|
||||
|
||||
#endif // APPLISTMODEL_H
|
398
src/spark-update-tool/src/aptssupdater.cpp
Normal file
@ -0,0 +1,398 @@
|
||||
#include "aptssupdater.h"
|
||||
#include <QProcess>
|
||||
#include <QTextStream>
|
||||
#include <QRegularExpression>
|
||||
#include <QFile>
|
||||
#include <qdebug.h>
|
||||
|
||||
aptssUpdater::aptssUpdater(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
{
|
||||
packageName = getUpdateablePackages();
|
||||
}
|
||||
|
||||
QStringList aptssUpdater::getUpdateablePackages()
|
||||
{
|
||||
QStringList packageDetails;
|
||||
QProcess process;
|
||||
QString command = R"(env LANGUAGE=en_US /usr/bin/apt -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf list --upgradable -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="/dev/null" -o APT::Get::List-Cleanup="0" | awk 'NR>1')";
|
||||
|
||||
process.start("bash", QStringList() << "-c" << command);
|
||||
if (!process.waitForFinished()) {
|
||||
qWarning() << "Process failed to finish.";
|
||||
return packageDetails;
|
||||
}
|
||||
|
||||
QString output = process.readAllStandardOutput();
|
||||
QStringList lines = output.split('\n', QString::SkipEmptyParts);
|
||||
|
||||
// 创建临时文件
|
||||
QTemporaryFile tempFile;
|
||||
tempFile.setAutoRemove(false);
|
||||
if (tempFile.open()) {
|
||||
QTextStream stream(&tempFile);
|
||||
|
||||
for (const QString &line : lines) {
|
||||
QRegularExpression regex(R"(([\w\-\+\.]+)/\S+\s+([^\s]+)\s+\S+\s+\[upgradable from: ([^\]]+)\])");
|
||||
QRegularExpressionMatch match = regex.match(line);
|
||||
if (match.hasMatch()) {
|
||||
QString name = match.captured(1);
|
||||
QString newVersion = match.captured(2);
|
||||
QString oldVersion = match.captured(3);
|
||||
|
||||
// 检查版本是否相同,相同则跳过
|
||||
if (newVersion == oldVersion) {
|
||||
qDebug() << "跳过版本相同的包:" << name << "(" << oldVersion << "→" << newVersion << ")";
|
||||
continue;
|
||||
}
|
||||
|
||||
// 写入内存列表
|
||||
packageDetails << QString("%1: %2 → %3").arg(name, oldVersion, newVersion);
|
||||
|
||||
// 写入临时文件(原始数据)
|
||||
stream << name << "|" << oldVersion << "|" << newVersion << "\n";
|
||||
}
|
||||
}
|
||||
tempFile.close();
|
||||
m_tempFilePath = tempFile.fileName();
|
||||
qDebug()<< "临时文件路径:" << m_tempFilePath;
|
||||
|
||||
} else {
|
||||
qWarning() << "无法创建临时文件";
|
||||
}
|
||||
|
||||
return packageDetails;
|
||||
}
|
||||
|
||||
|
||||
QStringList aptssUpdater::getPackageSizes()
|
||||
{
|
||||
QStringList packageDetails;
|
||||
QProcess process;
|
||||
|
||||
// 获取可更新包名列表
|
||||
QStringList updateablePackages;
|
||||
for (const QString &pkgInfo : packageName) {
|
||||
updateablePackages << pkgInfo.section(":", 0, 0).trimmed();
|
||||
}
|
||||
|
||||
foreach (const QString &packageName, updateablePackages) {
|
||||
// 构建新命令(包含包名参数)
|
||||
QString command = QString("apt download %1 --print-uris -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf "
|
||||
"-o Dir::Etc::sourcelist=\"/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list\" "
|
||||
"-o Dir::Etc::sourceparts=\"/dev/null\"").arg(packageName);
|
||||
|
||||
process.start("bash", QStringList() << "-c" << command);
|
||||
if (!process.waitForFinished()) {
|
||||
qWarning() << "获取包信息失败:" << packageName;
|
||||
continue;
|
||||
}
|
||||
|
||||
QString output = process.readAllStandardOutput();
|
||||
// 使用正则匹配所有信息
|
||||
// 调整正则表达式匹配分组
|
||||
QRegularExpression regex(R"('([^']+)'\s+(\S+)\s+(\d+)\s+SHA512:([^\s]+))"); // 分组1:URL 分组2:文件名 分组3:大小 分组4:SHA512
|
||||
QRegularExpressionMatch match = regex.match(output);
|
||||
|
||||
if (match.hasMatch()) {
|
||||
QString url = match.captured(1);
|
||||
QString fileName = match.captured(2);
|
||||
QString size = match.captured(3);
|
||||
QString sha512 = match.captured(4);
|
||||
|
||||
// 调整字段顺序:包名 | 大小 | URL | SHA512
|
||||
packageDetails << QString("%1: %2|%3|%4").arg(packageName, size, url, sha512);
|
||||
}
|
||||
}
|
||||
|
||||
qDebug() << "完整包信息:" << packageDetails;
|
||||
return packageDetails;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
QStringList aptssUpdater::getDesktopAppNames()
|
||||
{
|
||||
QStringList appNames;
|
||||
QProcess dpkgProcess;
|
||||
|
||||
// 获取当前系统语言环境
|
||||
QString lang = QLocale().name().replace("_", "-");
|
||||
|
||||
// 遍历所有可更新包(复用已有的临时文件数据)
|
||||
QStringList packages = packageName;
|
||||
|
||||
foreach (const QString &package, packages) {
|
||||
QString packageName = package.split(":")[0];
|
||||
QString finalName = packageName; // 默认使用包名
|
||||
|
||||
// 获取包文件列表
|
||||
dpkgProcess.start("dpkg", QStringList() << "-L" << packageName);
|
||||
dpkgProcess.waitForFinished();
|
||||
QStringList files = QString(dpkgProcess.readAllStandardOutput()).split('\n', QString::SkipEmptyParts);
|
||||
|
||||
// 先检查常规应用目录
|
||||
QStringList regularDesktopFiles = files.filter("/usr/share/applications/");
|
||||
QString regularAppName;
|
||||
if (!regularDesktopFiles.isEmpty()) {
|
||||
checkDesktopFiles(regularDesktopFiles, regularAppName, lang, packageName);
|
||||
}
|
||||
|
||||
// 如果常规目录没有找到,再检查特殊目录
|
||||
if (regularAppName.isEmpty()) {
|
||||
QStringList specialDesktopFiles = files.filter(QRegularExpression(QString("/opt/apps/%1/entries/applications").arg(packageName)));
|
||||
QString specialAppName;
|
||||
if (!specialDesktopFiles.isEmpty()) {
|
||||
checkDesktopFiles(specialDesktopFiles, specialAppName, lang, packageName);
|
||||
if (!specialAppName.isEmpty()) {
|
||||
finalName = specialAppName;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
finalName = regularAppName;
|
||||
}
|
||||
|
||||
// 输出格式为[软件名|包名]
|
||||
appNames << QString("[%1|%2]").arg(finalName, packageName);
|
||||
}
|
||||
qDebug()<< "应用名称列表:" << appNames;
|
||||
return appNames;
|
||||
}
|
||||
|
||||
|
||||
bool aptssUpdater::checkDesktopFiles(const QStringList &desktopFiles, QString &appName, const QString &lang, const QString &packageName)
|
||||
{
|
||||
QString lastValidName;
|
||||
QRegularExpression noDisplayRe("^NoDisplay=(true|True)");
|
||||
QRegularExpression nameRe("^Name\\[?" + lang + "?\\]?=(.*)");
|
||||
QRegularExpression nameOrigRe("^Name=(.*)");
|
||||
|
||||
foreach (const QString &filePath, desktopFiles) {
|
||||
if (!filePath.endsWith(".desktop")) continue;
|
||||
|
||||
QFile file(filePath);
|
||||
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) continue;
|
||||
|
||||
bool skip = false;
|
||||
QString currentName;
|
||||
|
||||
QTextStream in(&file);
|
||||
while (!in.atEnd()) {
|
||||
QString line = in.readLine().trimmed();
|
||||
|
||||
// 检查NoDisplay属性
|
||||
if (line.startsWith("NoDisplay=")) {
|
||||
if (noDisplayRe.match(line).hasMatch()) {
|
||||
skip = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// 优先匹配本地化名称
|
||||
if (currentName.isEmpty()) {
|
||||
QRegularExpressionMatch match = nameRe.match(line);
|
||||
if (match.hasMatch()) {
|
||||
currentName = match.captured(1);
|
||||
continue;
|
||||
}
|
||||
|
||||
// 匹配原始名称
|
||||
match = nameOrigRe.match(line);
|
||||
if (match.hasMatch()) {
|
||||
currentName = match.captured(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!skip && !currentName.isEmpty()) {
|
||||
lastValidName = currentName;
|
||||
}
|
||||
}
|
||||
|
||||
// 处理最终的有效名称
|
||||
if (!lastValidName.isEmpty()) {
|
||||
appName = lastValidName; // 直接赋值而不是使用<<
|
||||
return true;
|
||||
}
|
||||
|
||||
// 回退到包名
|
||||
appName = packageName;
|
||||
return false;
|
||||
}
|
||||
|
||||
QStringList aptssUpdater::getPackageIcons()
|
||||
{
|
||||
QStringList packageIcons;
|
||||
QProcess dpkgProcess;
|
||||
|
||||
// 遍历所有可更新包
|
||||
QStringList packages = packageName;
|
||||
|
||||
foreach (const QString &package, packages) {
|
||||
QString packageName = package.split(":")[0];
|
||||
QString iconPath = ":/resources/default_icon.svg"; // 默认图标
|
||||
|
||||
// 获取包文件列表
|
||||
dpkgProcess.start("dpkg", QStringList() << "-L" << packageName);
|
||||
dpkgProcess.waitForFinished();
|
||||
QStringList files = QString(dpkgProcess.readAllStandardOutput()).split('\n', QString::SkipEmptyParts);
|
||||
|
||||
// 查找.desktop文件
|
||||
QStringList desktopFiles = files.filter(QRegularExpression("/(usr/share|opt/apps)/.*\\.desktop$"));
|
||||
|
||||
// 从.desktop文件中提取图标
|
||||
foreach (const QString &desktopFile, desktopFiles) {
|
||||
QFile file(desktopFile);
|
||||
if (file.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
QTextStream in(&file);
|
||||
while (!in.atEnd()) {
|
||||
QString line = in.readLine().trimmed();
|
||||
if (line.startsWith("Icon=")) {
|
||||
QString iconName = line.mid(5).trimmed();
|
||||
|
||||
// 处理相对图标名(如Icon=vscode)
|
||||
if (!iconName.contains('/')) {
|
||||
// 查找标准图标路径
|
||||
QStringList iconPaths = {
|
||||
QString("/usr/share/pixmaps/%1.png").arg(iconName),
|
||||
QString("/usr/share/icons/hicolor/48x48/apps/%1.png").arg(iconName),
|
||||
QString("/usr/share/icons/hicolor/scalable/apps/%1.svg").arg(iconName),
|
||||
QString("/opt/apps/%1/entries/icons/hicolor/48x48/apps/%2.png").arg(packageName, iconName)
|
||||
};
|
||||
|
||||
foreach (const QString &path, iconPaths) {
|
||||
if (QFile::exists(path)) {
|
||||
iconPath = path;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// 已经是绝对路径
|
||||
if (QFile::exists(iconName)) {
|
||||
iconPath = iconName;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
file.close();
|
||||
}
|
||||
}
|
||||
|
||||
// 如果.desktop中没有找到图标,尝试直接查找包中的图标文件
|
||||
if (iconPath == ":/resources/default_icon.svg") {
|
||||
QStringList iconFiles = files.filter(QRegularExpression("/(usr/share/pixmaps|usr/share/icons|opt/apps/.*/entries/icons)/.*\\.(png|svg)$"));
|
||||
if (!iconFiles.isEmpty()) {
|
||||
iconPath = iconFiles.first();
|
||||
}
|
||||
}
|
||||
|
||||
qDebug() << "包名:" << packageName << "图标路径:" << iconPath;
|
||||
packageIcons << QString("%1: %2").arg(packageName, iconPath);
|
||||
}
|
||||
|
||||
return packageIcons;
|
||||
}
|
||||
|
||||
|
||||
QJsonArray aptssUpdater::getUpdateInfoAsJson()
|
||||
{
|
||||
QJsonArray jsonArray;
|
||||
|
||||
// 获取所有需要的信息
|
||||
QStringList sizes = getPackageSizes();
|
||||
QStringList names = getDesktopAppNames();
|
||||
QStringList icons = getPackageIcons();
|
||||
|
||||
// 创建包名到各种信息的映射
|
||||
QHash<QString, QHash<QString, QString>> packageInfo;
|
||||
|
||||
// 解析包版本信息
|
||||
for (const QString &pkg : packageName) {
|
||||
QStringList parts = pkg.split(": ");
|
||||
if (parts.size() >= 2) {
|
||||
QString packageName = parts[0];
|
||||
QStringList versions = parts[1].split(" → ");
|
||||
if (versions.size() == 2) {
|
||||
packageInfo[packageName]["current_version"] = versions[0];
|
||||
packageInfo[packageName]["new_version"] = versions[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 解析包详细信息(新增部分)
|
||||
for (const QString &sizeInfo : sizes) {
|
||||
QStringList parts = sizeInfo.split(": ");
|
||||
if (parts.size() == 2) {
|
||||
QString packageName = parts[0];
|
||||
QStringList details = parts[1].split("|");
|
||||
if (details.size() == 3) { // 现在包含大小|URL|SHA512
|
||||
packageInfo[packageName]["size"] = details[0];
|
||||
packageInfo[packageName]["url"] = details[1];
|
||||
packageInfo[packageName]["sha512"] = details[2];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 解析应用名称信息
|
||||
for (const QString &nameInfo : names) {
|
||||
if (nameInfo.startsWith("[") && nameInfo.endsWith("]")) {
|
||||
QString content = nameInfo.mid(1, nameInfo.length() - 2);
|
||||
QStringList parts = content.split("|");
|
||||
if (parts.size() == 2) {
|
||||
QString displayName = parts[0];
|
||||
QString packageName = parts[1];
|
||||
packageInfo[packageName]["display_name"] = displayName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 解析图标信息
|
||||
for (const QString &iconInfo : icons) {
|
||||
QStringList parts = iconInfo.split(": ");
|
||||
if (parts.size() == 2) {
|
||||
QString packageName = parts[0];
|
||||
packageInfo[packageName]["icon"] = parts[1].trimmed();
|
||||
}
|
||||
}
|
||||
|
||||
// 构建JSON数组
|
||||
for (const QString &packageName : packageInfo.keys()) {
|
||||
QJsonObject jsonObj;
|
||||
jsonObj["package"] = packageName;
|
||||
|
||||
// 使用显示名称(如果有),否则使用包名
|
||||
if (packageInfo[packageName].contains("display_name")) {
|
||||
jsonObj["name"] = packageInfo[packageName]["display_name"];
|
||||
} else {
|
||||
jsonObj["name"] = packageName;
|
||||
}
|
||||
|
||||
jsonObj["current_version"] = packageInfo[packageName]["current_version"];
|
||||
jsonObj["new_version"] = packageInfo[packageName]["new_version"];
|
||||
jsonObj["icon"] = packageInfo[packageName]["icon"];
|
||||
jsonObj["ignored"] = false; // 默认不忽略
|
||||
|
||||
// 如果有大小信息也加入
|
||||
if (packageInfo[packageName].contains("size")) {
|
||||
jsonObj["size"] = packageInfo[packageName]["size"];
|
||||
}
|
||||
|
||||
// 在构建JSON对象时添加新字段(在jsonObj中添加):
|
||||
if (packageInfo[packageName].contains("url")) {
|
||||
jsonObj["download_url"] = packageInfo[packageName]["url"];
|
||||
qDebug() << "生成的下载 URL:" << packageInfo[packageName]["url"]; // 检查生成的 URL
|
||||
} else {
|
||||
qWarning() << "未找到下载 URL,包名:" << packageName;
|
||||
jsonObj["download_url"] = ""; // 设置为空字符串以避免崩溃
|
||||
}
|
||||
jsonObj["sha512"] = packageInfo[packageName]["sha512"];
|
||||
jsonArray.append(jsonObj);
|
||||
}
|
||||
qDebug()<<jsonArray;
|
||||
return jsonArray;
|
||||
}
|
||||
|
||||
|
28
src/spark-update-tool/src/aptssupdater.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef APTSSUPDATER_H
|
||||
#define APTSSUPDATER_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QStringList>
|
||||
#include <QTemporaryFile>
|
||||
#include <QLocale>
|
||||
#include <QJsonObject>
|
||||
#include <QJsonArray>
|
||||
class aptssUpdater : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit aptssUpdater(QWidget *parent = nullptr);
|
||||
|
||||
QStringList getUpdateablePackages(); // 查询可更新包列表及更新内容
|
||||
QStringList getPackageSizes(); // 获取每个包的大小
|
||||
QStringList getDesktopAppNames(); // 获取桌面应用名称列表
|
||||
QStringList getPackageIcons(); // 获取包图标列表
|
||||
QJsonArray getUpdateInfoAsJson(); // 获取更新信息的 JSON 格式
|
||||
QString m_tempFilePath;
|
||||
signals:
|
||||
private:
|
||||
bool checkDesktopFiles(const QStringList &desktopFiles, QString &appName, const QString &lang, const QString &packageName);
|
||||
QStringList packageName;
|
||||
};
|
||||
|
||||
#endif // APTSSUPDATER_H
|
117
src/spark-update-tool/src/downloadmanager.cpp
Normal file
@ -0,0 +1,117 @@
|
||||
#include "downloadmanager.h"
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
#include <QRegularExpression>
|
||||
#include <QDebug>
|
||||
|
||||
DownloadManager::DownloadManager(QObject *parent) : QObject(parent)
|
||||
{
|
||||
cleanupTempFiles();
|
||||
}
|
||||
|
||||
void DownloadManager::startDownload(const QString &packageName, const QString &url, const QString &outputPath)
|
||||
{
|
||||
if (m_processes.contains(packageName)) {
|
||||
qWarning() << packageName << " is already downloading.";
|
||||
return;
|
||||
}
|
||||
|
||||
QString metalinkUrl = url + ".metalink";
|
||||
QFileInfo fileInfo(outputPath);
|
||||
|
||||
QStringList arguments = {
|
||||
"--enable-rpc=false",
|
||||
"--console-log-level=warn",
|
||||
"--summary-interval=1",
|
||||
"--allow-overwrite=true",
|
||||
"--dir=" + fileInfo.absolutePath(),
|
||||
"--out=" + fileInfo.fileName(),
|
||||
metalinkUrl
|
||||
};
|
||||
|
||||
QProcess *process = new QProcess(this);
|
||||
m_processes.insert(packageName, process);
|
||||
|
||||
// 新增:准备日志文件
|
||||
QString logPath = QString("/tmp/%1_download.log").arg(packageName);
|
||||
QFile *logFile = new QFile(logPath, process);
|
||||
if (logFile->open(QIODevice::Append | QIODevice::Text)) {
|
||||
// 设置权限为777
|
||||
QFile::setPermissions(logPath, QFile::ReadOwner | QFile::WriteOwner | QFile::ExeOwner |
|
||||
QFile::ReadGroup | QFile::WriteGroup | QFile::ExeGroup |
|
||||
QFile::ReadOther | QFile::WriteOther | QFile::ExeOther);
|
||||
connect(process, &QProcess::readyReadStandardOutput, this, [this, packageName, process, logFile]() {
|
||||
while (process->canReadLine()) {
|
||||
QString line = QString::fromUtf8(process->readLine()).trimmed();
|
||||
// 写入日志
|
||||
logFile->write(line.toUtf8() + '\n');
|
||||
logFile->flush();
|
||||
QRegularExpression regex(R"(\((\d+)%\))");
|
||||
QRegularExpressionMatch match = regex.match(line);
|
||||
if (match.hasMatch()) {
|
||||
int progress = match.captured(1).toInt();
|
||||
emit downloadProgress(packageName, progress);
|
||||
}
|
||||
}
|
||||
});
|
||||
connect(process, &QProcess::readyReadStandardError, this, [process, logFile]() {
|
||||
QByteArray err = process->readAllStandardError();
|
||||
logFile->write(err);
|
||||
logFile->flush();
|
||||
});
|
||||
}
|
||||
|
||||
connect(process, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished),
|
||||
this, [this, packageName, outputPath, logFile](int exitCode, QProcess::ExitStatus status) {
|
||||
bool success = (exitCode == 0 && status == QProcess::NormalExit);
|
||||
if (!success) {
|
||||
qWarning() << "Download failed for" << packageName << "exit code:" << exitCode;
|
||||
}
|
||||
|
||||
removeAria2Files(outputPath); // 清理残留 .aria2
|
||||
emit downloadFinished(packageName, success);
|
||||
|
||||
if (logFile) logFile->close();
|
||||
|
||||
QProcess *proc = m_processes.take(packageName);
|
||||
if (proc) proc->deleteLater();
|
||||
});
|
||||
|
||||
process->start("aria2c", arguments);
|
||||
}
|
||||
|
||||
void DownloadManager::cancelDownload(const QString &packageName)
|
||||
{
|
||||
if (!m_processes.contains(packageName)) return;
|
||||
|
||||
QProcess *process = m_processes.take(packageName);
|
||||
if (process) {
|
||||
process->kill(); // 立即终止
|
||||
process->waitForFinished(3000); // 最多等待3秒
|
||||
process->deleteLater();
|
||||
}
|
||||
|
||||
emit downloadFinished(packageName, false); // 显式通知取消
|
||||
|
||||
}
|
||||
|
||||
void DownloadManager::removeAria2Files(const QString &filePath)
|
||||
{
|
||||
QString ariaFile = filePath + ".aria2";
|
||||
QFile::remove(ariaFile);
|
||||
}
|
||||
|
||||
bool DownloadManager::isDownloading(const QString &packageName) const
|
||||
{
|
||||
return m_processes.contains(packageName);
|
||||
}
|
||||
|
||||
void DownloadManager::cleanupTempFiles()
|
||||
{
|
||||
QDir tempDir(QDir::tempPath());
|
||||
QStringList leftovers = tempDir.entryList(QStringList() << "*.aria2", QDir::Files);
|
||||
for (const QString &f : leftovers) {
|
||||
tempDir.remove(f);
|
||||
}
|
||||
}
|
28
src/spark-update-tool/src/downloadmanager.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef DOWNLOADMANAGER_H
|
||||
#define DOWNLOADMANAGER_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QMap>
|
||||
#include <QProcess>
|
||||
|
||||
class DownloadManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DownloadManager(QObject *parent = nullptr);
|
||||
void startDownload(const QString &packageName, const QString &url, const QString &outputPath);
|
||||
void cancelDownload(const QString &packageName);
|
||||
bool isDownloading(const QString &packageName) const;
|
||||
|
||||
signals:
|
||||
void downloadProgress(const QString &packageName, int progress);
|
||||
void downloadFinished(const QString &packageName, bool success);
|
||||
|
||||
private:
|
||||
void cleanupTempFiles();
|
||||
void removeAria2Files(const QString &filePath);
|
||||
|
||||
QMap<QString, QProcess*> m_processes;
|
||||
};
|
||||
|
||||
#endif // DOWNLOADMANAGER_H
|
8
src/spark-update-tool/src/icons.qrc
Normal file
@ -0,0 +1,8 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>../resources/down_arrow.svg</file>
|
||||
<file>../resources/default_icon.svg</file>
|
||||
<file>../resources/spark-update-tool.svg</file>
|
||||
<file>../resources/128*128/spark-update-tool.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
86
src/spark-update-tool/src/main.cpp
Normal file
@ -0,0 +1,86 @@
|
||||
#include "mainwindow.h"
|
||||
#include <QApplication>
|
||||
#include <QProcess>
|
||||
#include <QMessageBox>
|
||||
#include <unistd.h> // for geteuid
|
||||
#include <cstdlib> // for getenv
|
||||
#include <QDebug> // For debugging output
|
||||
|
||||
bool isRoot() {
|
||||
return geteuid() == 0;
|
||||
}
|
||||
|
||||
bool elevateToRoot() {
|
||||
QString program = QCoreApplication::applicationFilePath();
|
||||
qDebug() << "Current application path:" << program;
|
||||
|
||||
QByteArray display = qgetenv("DISPLAY");
|
||||
QByteArray xauthority = qgetenv("XAUTHORITY");
|
||||
|
||||
QStringList args;
|
||||
args << "env"
|
||||
<< "DISPLAY=" + display
|
||||
<< "XAUTHORITY=" + xauthority
|
||||
<< program;
|
||||
|
||||
QProcess process;
|
||||
process.setProgram("pkexec");
|
||||
process.setArguments(args);
|
||||
|
||||
qDebug() << "Attempting to elevate using pkexec with arguments:" << args;
|
||||
|
||||
process.start();
|
||||
if (!process.waitForStarted(5000)) {
|
||||
qDebug() << "Failed to start pkexec.";
|
||||
return false;
|
||||
}
|
||||
|
||||
// 阻塞等待提权进程退出(比如主程序窗口关闭)
|
||||
if (!process.waitForFinished(-1)) { // 等待直到新进程退出
|
||||
qDebug() << "pkexec process waitForFinished failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
int exitCode = process.exitCode();
|
||||
QProcess::ExitStatus exitStatus = process.exitStatus();
|
||||
|
||||
qDebug() << "pkexec exit code:" << exitCode;
|
||||
qDebug() << "pkexec exit status:" << exitStatus;
|
||||
qDebug() << "pkexec stderr:" << process.readAllStandardError();
|
||||
|
||||
return (exitStatus == QProcess::NormalExit && exitCode == 0);
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// 必须在 QGuiApplication 实例创建之前调用
|
||||
// QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
|
||||
|
||||
QApplication a(argc, argv);
|
||||
a.setWindowIcon(QIcon(":/resources/128*128/spark-update-tool.png"));
|
||||
if (!isRoot()) {
|
||||
qDebug() << "Not running as root. Attempting to elevate...";
|
||||
if (!elevateToRoot()) {
|
||||
qDebug() << "Elevation failed or pkexec command was not executed successfully.";
|
||||
QMessageBox::critical(nullptr,
|
||||
"权限不足",
|
||||
"提权失败!\n\n您的系统可能不支持 `pkexec` 或 `polkit` 配置不正确,"
|
||||
"或者您取消了授权。\n\n请尝试使用 `sudo` 命令运行此程序:"
|
||||
"\n\n在终端中输入:\n`sudo " + QCoreApplication::applicationName() + "`");
|
||||
return 0; // 提权失败,退出程序
|
||||
} else {
|
||||
// 如果 elevateToRoot 返回 true,说明 pkexec 命令本身执行成功
|
||||
// 但这并不意味着原始程序以 root 权限启动了
|
||||
// 因为 elevateToRoot 启动的是一个新的进程,当前进程应该退出
|
||||
// 否则会并行运行两个程序实例
|
||||
qDebug() << "pkexec command executed successfully (new process likely started). Exiting current process.";
|
||||
return 0; // 当前非root进程退出
|
||||
}
|
||||
} else {
|
||||
qDebug() << "Running as root.";
|
||||
}
|
||||
|
||||
MainWindow w;
|
||||
w.show();
|
||||
return a.exec();
|
||||
}
|
262
src/spark-update-tool/src/mainwindow.cpp
Normal file
@ -0,0 +1,262 @@
|
||||
#include "mainwindow.h"
|
||||
#include "./ui_mainwindow.h"
|
||||
#include <QProcess>
|
||||
#include <QMessageBox>
|
||||
#include <QProgressDialog>
|
||||
#include <QtConcurrent> // 新增
|
||||
#include <QFutureWatcher> // 新增
|
||||
#include <QIcon>
|
||||
#include <qicon.h>
|
||||
MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
, ui(new Ui::MainWindow)
|
||||
, m_model(new AppListModel(this))
|
||||
, m_delegate(new AppDelegate(this))
|
||||
{
|
||||
QIcon icon(":/resources/128*128/spark-update-tool.png");
|
||||
setWindowIcon(icon);
|
||||
QProgressDialog *progressDialog = new QProgressDialog("正在与服务器通信,获取更新信息中...", QString(), 0, 0, this);
|
||||
progressDialog->setWindowModality(Qt::ApplicationModal);
|
||||
progressDialog->setCancelButton(nullptr);
|
||||
progressDialog->setWindowTitle("请稍候");
|
||||
progressDialog->setMinimumDuration(0);
|
||||
progressDialog->setWindowFlags(progressDialog->windowFlags() & ~Qt::WindowCloseButtonHint); // 禁用关闭按钮
|
||||
progressDialog->show();
|
||||
//异步执行runAptssUpgrade
|
||||
QFutureWatcher<void> *watcher = new QFutureWatcher<void>(this);
|
||||
connect(watcher, &QFutureWatcher<void>::finished, this, [=]() {
|
||||
progressDialog->close();
|
||||
progressDialog->deleteLater();
|
||||
watcher->deleteLater();
|
||||
ui->setupUi(this);
|
||||
QIcon icon(":/resources/128*128/spark-update-tool.png");
|
||||
setWindowIcon(icon);
|
||||
// 创建 QListView 并设置父控件为 ui->appWidget
|
||||
listView = new QListView(ui->appWidget);
|
||||
listView->setModel(m_model);
|
||||
listView->setItemDelegate(m_delegate);
|
||||
|
||||
// 新增:确保 delegate 拥有 model 指针
|
||||
m_delegate->setModel(m_model);
|
||||
|
||||
// 设置 QListView 填充 ui->appWidget
|
||||
QVBoxLayout *layout = new QVBoxLayout(ui->appWidget);
|
||||
layout->addWidget(listView);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
connect(m_delegate, &AppDelegate::updateDisplay, this, [=](const QString &packageName) {
|
||||
for (int i = 0; i < m_model->rowCount(); ++i) {
|
||||
QModelIndex index = m_model->index(i);
|
||||
if (index.data(Qt::UserRole + 1).toString() == packageName) {
|
||||
m_model->dataChanged(index, index); // 刷新该行
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// 新增:点击“更新全部”按钮批量下载
|
||||
connect(ui->updatePushButton, &QPushButton::clicked, this, [=](){
|
||||
qDebug()<<"更新全部按钮被点击";
|
||||
m_delegate->startDownloadForAll();
|
||||
});
|
||||
|
||||
checkUpdates();
|
||||
// 新增:监听搜索框文本变化
|
||||
connect(ui->searchPlainTextEdit, &QPlainTextEdit::textChanged, this, [=]() {
|
||||
QString keyword = ui->searchPlainTextEdit->toPlainText();
|
||||
filterAppsByKeyword(keyword);
|
||||
});
|
||||
initStyle();
|
||||
|
||||
// 确保搜索框内容为空,placeholder 能显示
|
||||
ui->searchPlainTextEdit->clear();
|
||||
});
|
||||
|
||||
// 启动异步任务
|
||||
watcher->setFuture(QtConcurrent::run([this](){
|
||||
runAptssUpgrade();
|
||||
}));
|
||||
}
|
||||
//初始化控件样式
|
||||
void MainWindow::initStyle()
|
||||
{
|
||||
//设置窗口标题
|
||||
this->setWindowTitle("软件更新中心");
|
||||
|
||||
//查询框样式
|
||||
ui->searchPlainTextEdit->setStyleSheet(R"(
|
||||
QPlainTextEdit {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #E5E7EB;
|
||||
border-radius: 4px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
font-size: 9px;
|
||||
line-height: 1.4;
|
||||
color: #9CA3AF;
|
||||
}
|
||||
QPlainTextEdit[placeholderText]:empty {
|
||||
color: #9CA3AF;
|
||||
}
|
||||
)");
|
||||
|
||||
ui->searchPlainTextEdit->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
ui->searchPlainTextEdit->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
|
||||
//筛选框样式
|
||||
ui->FilterComboBox->setStyleSheet(R"(
|
||||
QComboBox {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #E5E7EB;
|
||||
border-radius: 4px;
|
||||
color: #4B5563;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
QComboBox::drop-down {
|
||||
border: none;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
QComboBox::down-arrow {
|
||||
image: url(:/resources/down_arrow.svg);
|
||||
width: 12px;
|
||||
height: 16px;
|
||||
}
|
||||
QComboBox QAbstractItemView {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #E5E7EB;
|
||||
color: #4B5563;
|
||||
selection-background-color: #F3F4F6;
|
||||
selection-color: #111827;
|
||||
}
|
||||
)");
|
||||
|
||||
//更新软件按钮样式
|
||||
ui->updatePushButton->setStyleSheet(R"(
|
||||
QPushButton {
|
||||
background-color: #2563EB;
|
||||
color: #FFFFFF;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
padding: 6px 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background-color: #1D4ED8; /* 深一点的 hover 效果,可选 */
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
background-color: #1E40AF; /* 按下效果,可选 */
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
background-color: #A5B4FC;
|
||||
color: #F9FAFB;
|
||||
}
|
||||
)");
|
||||
|
||||
//设置背景填充颜色
|
||||
ui->backgroundWidget->setStyleSheet(R"(
|
||||
QWidget {
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 12px;
|
||||
}
|
||||
)");
|
||||
|
||||
//设置主背景颜色
|
||||
this->setStyleSheet("background-color: #F8FAFC;");
|
||||
|
||||
// 添加滚动条样式
|
||||
this->setStyleSheet(R"(
|
||||
QScrollBar:vertical {
|
||||
background: #F3F4F6;
|
||||
width: 8px;
|
||||
margin: 0px;
|
||||
}
|
||||
QScrollBar::handle:vertical {
|
||||
background: #D1D5DB;
|
||||
border-radius: 4px;
|
||||
min-height: 30px;
|
||||
}
|
||||
QScrollBar::handle:vertical:hover {
|
||||
background: #9CA3AF;
|
||||
}
|
||||
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
|
||||
background: none;
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
QScrollBar:horizontal {
|
||||
background: #F3F4F6;
|
||||
height: 8px;
|
||||
margin: 0px;
|
||||
}
|
||||
QScrollBar::handle:horizontal {
|
||||
background: #D1D5DB;
|
||||
border-radius: 4px;
|
||||
min-width: 30px;
|
||||
}
|
||||
QScrollBar::handle:horizontal:hover {
|
||||
background: #9CA3AF;
|
||||
}
|
||||
)");
|
||||
}
|
||||
void MainWindow::checkUpdates()
|
||||
{
|
||||
aptssUpdater updater;
|
||||
QJsonArray updateInfo = updater.getUpdateInfoAsJson();
|
||||
m_allApps = updateInfo; // 保存所有应用数据
|
||||
m_model->setUpdateData(updateInfo);
|
||||
|
||||
for (const auto &item : updateInfo) {
|
||||
QJsonObject obj = item.toObject();
|
||||
qDebug() << "模型设置的包名:" << obj["package"].toString();
|
||||
qDebug() << "模型设置的下载 URL:" << obj["download_url"].toString(); // 检查模型数据
|
||||
}
|
||||
}
|
||||
|
||||
// 新增:根据关键字过滤应用
|
||||
void MainWindow::filterAppsByKeyword(const QString &keyword)
|
||||
{
|
||||
if (keyword.trimmed().isEmpty()) {
|
||||
m_model->setUpdateData(m_allApps);
|
||||
return;
|
||||
}
|
||||
QJsonArray filtered;
|
||||
for (const auto &item : m_allApps) {
|
||||
QJsonObject obj = item.toObject();
|
||||
// 可根据需要匹配更多字段
|
||||
QString name = obj.value("name").toString();
|
||||
QString package = obj.value("package").toString();
|
||||
if (name.contains(keyword, Qt::CaseInsensitive) ||
|
||||
package.contains(keyword, Qt::CaseInsensitive)) {
|
||||
filtered.append(item);
|
||||
}
|
||||
}
|
||||
m_model->setUpdateData(filtered);
|
||||
}
|
||||
|
||||
void MainWindow::runAptssUpgrade()
|
||||
{
|
||||
QProcess process;
|
||||
QStringList args;
|
||||
args << "sudo" <<"aptss" << "ssupdate";
|
||||
process.start("sudo", args);
|
||||
if (!process.waitForStarted(5000)) {
|
||||
QMessageBox::warning(this, "升级失败", "无法启动 sudo aptss ssupdate");
|
||||
return;
|
||||
}
|
||||
process.write("n\n");
|
||||
process.closeWriteChannel();
|
||||
process.waitForFinished(-1);
|
||||
if (process.exitCode() != 0) {
|
||||
QMessageBox::warning(this, "升级失败", "执行 sudo aptss ssupdate 失败,请检查系统环境。");
|
||||
}
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
}
|
36
src/spark-update-tool/src/mainwindow.h
Normal file
@ -0,0 +1,36 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "aptssupdater.h"
|
||||
#include "applistmodel.h"
|
||||
#include "appdelegate.h"
|
||||
#include <QListView>
|
||||
#include <QJsonArray> // 添加头文件
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
void checkUpdates();
|
||||
void initStyle();
|
||||
void runAptssUpgrade();
|
||||
AppListModel *m_model;
|
||||
AppDelegate *m_delegate;
|
||||
QListView *listView; // 声明 QListView 指针
|
||||
QJsonArray m_allApps; // 新增:保存所有应用数据
|
||||
void filterAppsByKeyword(const QString &keyword); // 新增:搜索过滤函数声明
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
256
src/spark-update-tool/src/mainwindow.ui
Normal file
@ -0,0 +1,256 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWindow</class>
|
||||
<widget class="QMainWindow" name="MainWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1440</width>
|
||||
<height>858</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QWidget" name="titleWidget" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Noto Sans Vai</family>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>软件更新中心</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Orientation::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>1245</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QWidget" name="backgroundWidget" native="true">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_4" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_3" native="true">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>320</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>320</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="searchPlainTextEdit">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="plainText">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="tabStopDistance">
|
||||
<double>81.000000000000000</double>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>搜索软件...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Orientation::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>214</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>214</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<widget class="QComboBox" name="FilterComboBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>102</width>
|
||||
<height>38</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>102</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>102</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QComboBox::SizeAdjustPolicy::AdjustToContentsOnFirstShow</enum>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>按名称</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="updatePushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>118</x>
|
||||
<y>0</y>
|
||||
<width>96</width>
|
||||
<height>40</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>更新全部</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="appWidget" native="true">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1440</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -198,7 +198,7 @@ void Utils::setQPAPlatform()
|
||||
// }
|
||||
else
|
||||
{
|
||||
qputenv("QT_QPA_PLATFORM", "dxcb");
|
||||
qputenv("QT_QPA_PLATFORM", "dxcb;xcb");
|
||||
}
|
||||
}
|
||||
|
||||
|
24
src/widgets/common/customlabel.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
#include "customlabel.h"
|
||||
#include <QGuiApplication>
|
||||
|
||||
CustomLabel::CustomLabel(QWidget *parent, Qt::WindowFlags f)
|
||||
: QLabel(parent, f)
|
||||
{
|
||||
}
|
||||
|
||||
QPixmap CustomLabel::pixmap() const
|
||||
{
|
||||
const QPixmap *p = QLabel::pixmap();
|
||||
return p ? *p : QPixmap();
|
||||
}
|
||||
|
||||
void CustomLabel::setPixmap(const QPixmap &pixmap)
|
||||
{
|
||||
QPixmap _pixmap = pixmap;
|
||||
_pixmap.setDevicePixelRatio(qApp->devicePixelRatio());
|
||||
_pixmap = _pixmap.scaled(size() * _pixmap.devicePixelRatio(),
|
||||
Qt::KeepAspectRatio,
|
||||
Qt::SmoothTransformation);
|
||||
|
||||
QLabel::setPixmap(_pixmap);
|
||||
}
|
19
src/widgets/common/customlabel.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef CUSTOMLABEL_H
|
||||
#define CUSTOMLABEL_H
|
||||
|
||||
#include <QLabel>
|
||||
|
||||
class CustomLabel : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QPixmap pixmap READ pixmap WRITE setPixmap)
|
||||
|
||||
public:
|
||||
explicit CustomLabel(QWidget *parent = nullptr,
|
||||
Qt::WindowFlags f = Qt::WindowFlags());
|
||||
|
||||
virtual QPixmap pixmap() const;
|
||||
virtual void setPixmap(const QPixmap &pixmap);
|
||||
};
|
||||
|
||||
#endif // CUSTOMLABEL_H
|
@ -175,8 +175,16 @@ void DownloadItem::slotAsyncInstall(int t)
|
||||
switch (t)
|
||||
{
|
||||
case 0:
|
||||
installer.start("pkexec", QStringList() << "/usr/local/bin/ssinstall"
|
||||
<< "/tmp/spark-store/" + ui->label_filename->text().toUtf8() << "--delete-after-install");
|
||||
{
|
||||
QStringList args;
|
||||
args << "/usr/local/bin/ssinstall"
|
||||
<< "/tmp/spark-store/" + ui->label_filename->text().toUtf8();
|
||||
if (!installExtraArg.isEmpty()) {
|
||||
args << installExtraArg;
|
||||
}
|
||||
args << "--delete-after-install";
|
||||
installer.start("pkexec", args);
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
installer.start("deepin-deb-installer", QStringList() << "/tmp/spark-store/" + ui->label_filename->text().toUtf8());
|
||||
@ -208,11 +216,11 @@ void DownloadItem::slotAsyncInstall(int t)
|
||||
}
|
||||
}
|
||||
|
||||
QProcess isInstall;
|
||||
isInstall.start("dpkg", QStringList() << "-s" << pkgName);
|
||||
isInstall.waitForFinished(180 * 1000); // 默认超时 3 分钟
|
||||
int error = QString::fromStdString(isInstall.readAllStandardError().toStdString()).length();
|
||||
if (error == 0 && !haveError)
|
||||
// QProcess isInstall;
|
||||
// isInstall.start("dpkg", QStringList() << "-s" << pkgName);
|
||||
// isInstall.waitForFinished(180 * 1000); // 默认超时 3 分钟
|
||||
// int error = QString::fromStdString(isInstall.readAllStandardError().toStdString()).length();
|
||||
if ( !haveError)
|
||||
{
|
||||
ui->pushButton_install->hide();
|
||||
Utils::sendNotification("spark-store", tr("Spark Store"), ui->label->text() + " " + tr("Installation complete."));
|
||||
@ -244,8 +252,5 @@ void DownloadItem::slotAsyncInstall(int t)
|
||||
ui->widget_spinner->hide();
|
||||
DownloadItem::isInstall = false;
|
||||
|
||||
installer.deleteLater();
|
||||
isInstall.deleteLater();
|
||||
|
||||
emit finished(error == 0 && !haveError && !notRoot);
|
||||
emit finished(!haveError && !notRoot);
|
||||
}
|
||||
|
@ -43,6 +43,9 @@ public:
|
||||
|
||||
void install(int);
|
||||
|
||||
// 新增:安装时额外参数
|
||||
QString installExtraArg;
|
||||
|
||||
private:
|
||||
Ui::DownloadItem *ui;
|
||||
|
||||
|
@ -85,7 +85,9 @@ void DownloadListWidget::clearItem()
|
||||
ui->listWidget->clear();
|
||||
}
|
||||
|
||||
DownloadItem* DownloadListWidget::addItem(QString name, QString fileName, QString pkgName, const QPixmap icon, QString downloadurl)
|
||||
DownloadItem* DownloadListWidget::addItem(QString name, QString fileName, QString pkgName,
|
||||
const QPixmap icon, QString downloadurl,
|
||||
const QString &installExtraArg)
|
||||
{
|
||||
if (fileName.isEmpty())
|
||||
{
|
||||
@ -104,6 +106,7 @@ DownloadItem* DownloadListWidget::addItem(QString name, QString fileName, QStrin
|
||||
di->setName(name);
|
||||
di->setFileName(fileName);
|
||||
di->pkgName = pkgName;
|
||||
di->installExtraArg = installExtraArg;
|
||||
di->seticon(icon);
|
||||
QListWidgetItem *pItem = new QListWidgetItem();
|
||||
pItem->setSizeHint(QSize(240, 56)); // ui 中单个 downloaditem 高度固定 56px(上下 margin 8px,图片固定 48x48)
|
||||
|
@ -19,7 +19,9 @@ class DownloadListWidget : public DBlurEffectWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DownloadItem *addItem(QString name, QString fileName, QString pkgName, const QPixmap icon, QString downloadurl);
|
||||
DownloadItem *addItem(QString name, QString fileName, QString pkgName,
|
||||
const QPixmap icon, QString downloadurl,
|
||||
const QString &installExtraArg);
|
||||
int nowDownload = 0;
|
||||
int allDownload = 0;
|
||||
int toDownload = 0;
|
||||
|
@ -20,6 +20,13 @@ shopt -s nullglob
|
||||
# third argument are piped to stderr.
|
||||
|
||||
THREADS=$(nproc 2>/dev/null || echo 4)
|
||||
|
||||
# Set color variables.
|
||||
cGreen='\e[0;32m'
|
||||
cRed='\e[0;31m'
|
||||
cBlue='\e[0;34m'
|
||||
endColor='\e[0m'
|
||||
|
||||
msg(){
|
||||
msg_options=()
|
||||
case "$2" in
|
||||
@ -36,6 +43,86 @@ msg(){
|
||||
echo -e "${msg_options[@]}" "${aptfast_prefix}${beginColor}$1${endColor}" >&2
|
||||
fi
|
||||
}
|
||||
msg_already_running()
|
||||
{
|
||||
msg "Other aptss is running. Waited $timer senconds..." "normal"
|
||||
msg "有其他的aptss正在运行。已经等待了$timer秒" "normal"
|
||||
}
|
||||
|
||||
# Check if a lock file exists.
|
||||
#if [ -f "$LCK_FILE.lock" ]; then
|
||||
# msg_already_running
|
||||
# exit 1
|
||||
#fi
|
||||
|
||||
# Move download file away so missing permissions won't stop usage.
|
||||
CLEANUP_STATE=0
|
||||
cleanup_dllist()
|
||||
{
|
||||
if [ -f "$DLLIST" ]
|
||||
then
|
||||
if ! mv -- "$DLLIST{,.old}" 2>/dev/null
|
||||
then
|
||||
if ! rm -fr -- "${LISTTEMP}" 2>/dev/null
|
||||
then
|
||||
msg "Could not clean up download list file." "warning"
|
||||
msg "无法清除下载列表文件." "warning"
|
||||
CLEANUP_STATE=1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
cleanup_aptfast()
|
||||
{
|
||||
local last_exit_code=$?
|
||||
[ "$CLEANUP_STATE" -eq 0 ] && CLEANUP_STATE=$last_exit_code
|
||||
cleanup_dllist
|
||||
_remove_lock
|
||||
# 添加删除临时目录的逻辑
|
||||
if [ -n "$LISTTEMP" ] && [ -d "$LISTTEMP" ]; then
|
||||
rm -rf "$LISTTEMP"
|
||||
fi
|
||||
}
|
||||
exit_cleanup_state()
|
||||
{
|
||||
cleanup_aptfast
|
||||
exit $CLEANUP_STATE
|
||||
}
|
||||
|
||||
LCK_FD=99
|
||||
# create the lock file and lock it, die on failure
|
||||
_create_lock()
|
||||
{
|
||||
eval "exec $LCK_FD>\"$LCK_FILE.lock\""
|
||||
|
||||
# 设置 trap 来清理资源
|
||||
trap "cleanup_aptfast" EXIT
|
||||
trap "cleanup_aptfast; exit 1" INT TERM
|
||||
|
||||
timer=0
|
||||
max_wait=180 # 最大等待时间为180秒(3分钟)
|
||||
|
||||
until $(flock -xn $LCK_FD); do
|
||||
msg_already_running
|
||||
sleep 1
|
||||
let timer+=1
|
||||
|
||||
if [ $timer -ge $max_wait ]; then
|
||||
echo "timeout"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
unset timer
|
||||
}
|
||||
|
||||
# unlock and remove the lock file
|
||||
_remove_lock()
|
||||
{
|
||||
flock -u "$LCK_FD" 2>/dev/null
|
||||
rm -f "$LCK_FILE.lock"
|
||||
}
|
||||
|
||||
# Search for known options and decide if root privileges are needed.
|
||||
root=$#
|
||||
@ -44,6 +131,7 @@ for argument in "$@"; do
|
||||
case "$argument" in
|
||||
upgrade | full-upgrade | install | dist-upgrade | build-dep)
|
||||
option="install"
|
||||
_create_lock
|
||||
;;
|
||||
clean | autoclean)
|
||||
option="clean"
|
||||
@ -122,7 +210,7 @@ LCK_FILE="/tmp/apt-fast-in-container.lock"
|
||||
else
|
||||
LCK_FILE="/tmp/apt-fast.lock"
|
||||
fi
|
||||
LCK_FD=99
|
||||
|
||||
|
||||
# Set default package manager, APT cache, temporary download dir,
|
||||
# temporary download list file, and maximal parallel downloads
|
||||
@ -145,11 +233,9 @@ if [ -f "$NETRC" ]; then
|
||||
fi
|
||||
APTAUTHFILES+=("$NETRCDIR"*)
|
||||
|
||||
if [ "$IS_ACE_ENV" != "" ];then
|
||||
DLLIST="/tmp/apt-fast-in-container.list"
|
||||
else
|
||||
DLLIST="/tmp/apt-fast.list"
|
||||
fi
|
||||
LISTTEMP=$(mktemp -d)
|
||||
DLLIST="${LISTTEMP}/apt-fast.list"
|
||||
|
||||
|
||||
|
||||
|
||||
@ -164,11 +250,7 @@ MIRRORS=()
|
||||
aptfast_prefix=
|
||||
# aptfast_prefix="$(date '+%b %_d %T.%N') apt-fast: "
|
||||
|
||||
# Set color variables.
|
||||
cGreen='\e[0;32m'
|
||||
cRed='\e[0;31m'
|
||||
cBlue='\e[0;34m'
|
||||
endColor='\e[0m'
|
||||
|
||||
|
||||
# Set timout value for apt-fast download confirmation dialog.
|
||||
# Value is in seconds.
|
||||
@ -240,82 +322,8 @@ if [ ! -t 1 ]; then
|
||||
fi
|
||||
|
||||
|
||||
msg_already_running()
|
||||
{
|
||||
msg "Other aptss is running. Waited $timer senconds..." "normal"
|
||||
msg "有其他的aptss正在运行。已经等待了$timer秒" "normal"
|
||||
}
|
||||
|
||||
# Check if a lock file exists.
|
||||
#if [ -f "$LCK_FILE.lock" ]; then
|
||||
# msg_already_running
|
||||
# exit 1
|
||||
#fi
|
||||
|
||||
|
||||
# create the lock file and lock it, die on failure
|
||||
_create_lock()
|
||||
{
|
||||
eval "exec $LCK_FD>\"$LCK_FILE.lock\""
|
||||
|
||||
# 设置 trap 来清理资源
|
||||
trap "cleanup_aptfast" EXIT
|
||||
trap "cleanup_aptfast; exit 1" INT TERM
|
||||
|
||||
timer=0
|
||||
max_wait=180 # 最大等待时间为180秒(3分钟)
|
||||
|
||||
until $(flock -xn $LCK_FD); do
|
||||
msg_already_running
|
||||
sleep 1
|
||||
let timer+=1
|
||||
|
||||
if [ $timer -ge $max_wait ]; then
|
||||
echo "timeout"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
unset timer
|
||||
}
|
||||
|
||||
# unlock and remove the lock file
|
||||
_remove_lock()
|
||||
{
|
||||
flock -u "$LCK_FD" 2>/dev/null
|
||||
rm -f "$LCK_FILE.lock"
|
||||
}
|
||||
|
||||
# Move download file away so missing permissions won't stop usage.
|
||||
CLEANUP_STATE=0
|
||||
cleanup_dllist()
|
||||
{
|
||||
if [ -f "$DLLIST" ]
|
||||
then
|
||||
if ! mv -- "$DLLIST{,.old}" 2>/dev/null
|
||||
then
|
||||
if ! rm -f -- "$DLLIST" 2>/dev/null
|
||||
then
|
||||
msg "Could not clean up download list file." "warning"
|
||||
msg "无法清除下载列表文件." "warning"
|
||||
CLEANUP_STATE=1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
cleanup_aptfast()
|
||||
{
|
||||
local last_exit_code=$?
|
||||
[ "$CLEANUP_STATE" -eq 0 ] && CLEANUP_STATE=$last_exit_code
|
||||
cleanup_dllist
|
||||
_remove_lock
|
||||
}
|
||||
|
||||
exit_cleanup_state()
|
||||
{
|
||||
exit $CLEANUP_STATE
|
||||
}
|
||||
|
||||
# decode url string
|
||||
# translates %xx but must not convert '+' in spaces
|
||||
@ -608,7 +616,7 @@ display_downloadfile(){
|
||||
|
||||
# Create and insert a PID number to lockfile.
|
||||
|
||||
_create_lock
|
||||
|
||||
|
||||
# Make sure aria2c (in general first parameter from _DOWNLOADER) is available.
|
||||
CMD="$(echo "$_DOWNLOADER" | sed 's/^\s*\([^ ]\+\).*$/\1/')"
|
||||
|
@ -19,6 +19,10 @@ case `arch` in
|
||||
STORE_URL="loong64-store"
|
||||
STORE_LIST_URL="-loong64"
|
||||
;;
|
||||
riscv64)
|
||||
STORE_URL="riscv64-store"
|
||||
STORE_LIST_URL="-riscv64"
|
||||
;;
|
||||
esac
|
||||
SS_APT_FAST="/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast"
|
||||
|
||||
|
684
tool/ssaudit
@ -1,81 +1,170 @@
|
||||
#!/bin/bash
|
||||
# 初始化常量和全局变量
|
||||
readonly SPARK_DOWNLOAD_SERVER_URL="https://d.spark-app.store/"
|
||||
readonly SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL="d.spark-app.store"
|
||||
# ACE环境配置 - 修改此数组即可添加或删除支持的环境——记得修改 store-helper 里的 uninstaller check-is-installed 和 ss-launcher
|
||||
readonly ACE_ENVIRONMENTS=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
"deepin23-run:amber-ce-deepin23"
|
||||
"sid-run:amber-ce-sid"
|
||||
)
|
||||
readonly ACE_ENVIRONMENTS_FOR_AUTOINSTALL=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
)
|
||||
function get_current_user() {
|
||||
# 优先通过 who 命令获取用户
|
||||
local user
|
||||
user=$(who | awk '{print $1}' | head -n 1 2>/dev/null)
|
||||
|
||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||
load_transhell_debug
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# 如果 who 无输出,则通过 loginctl 获取
|
||||
if [[ -z "$user" ]]; then
|
||||
user=$(loginctl list-sessions --no-legend 2>/dev/null | awk '{print $3}' | head -n 1)
|
||||
fi
|
||||
|
||||
trap 'unlock_file $DEBPATH' EXIT
|
||||
case $(arch) in
|
||||
x86_64)
|
||||
STORE_URL="store"
|
||||
;;
|
||||
aarch64)
|
||||
STORE_URL="aarch64-store"
|
||||
;;
|
||||
loongarch64)
|
||||
STORE_URL="loong64-store"
|
||||
STORE_LIST_URL="-loong64"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Spark Store Audit script. 星火商店审核脚本"
|
||||
|
||||
function pkexec_as_current_user() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
local uid=$(id -u "$user")
|
||||
sudo -u "$user" DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/"$uid"/bus pkexec "$@"
|
||||
# 返回最终结果(可能为空)
|
||||
echo "${user}"
|
||||
}
|
||||
function create_desktop_file() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
if [ -e $(sudo -u "$user" xdg-user-dir)/.config/spark-union/spark-store/ssshell-config-do-not-create-desktop ];then
|
||||
echo "It is configured that do not create desktop file. Give up"
|
||||
else
|
||||
exec_create_desktop_file
|
||||
fi
|
||||
}
|
||||
function exec_create_desktop_file() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /usr/share/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
echo $desktop_file_path is checked and will be installed to desktop
|
||||
sudo -u "$user" cp "$desktop_file_path" "$(sudo -u "$user" xdg-user-dir DESKTOP)/"
|
||||
fi
|
||||
done
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /opt/apps/$package_name/entries/applications | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
echo $desktop_file_path is checked and will be installed to desktop
|
||||
chmod +x $desktop_file_path
|
||||
sudo -u "$user" cp "$desktop_file_path" "$(sudo -u "$user" xdg-user-dir DESKTOP)/"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function zenity() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
local user=$(get_current_user)
|
||||
local uid=$(id -u "$user")
|
||||
sudo -u "$user" DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/"$uid"/bus zenity "$@"
|
||||
}
|
||||
|
||||
function hash_check() {
|
||||
if [ ! -e "/var/lib/aptss/lists/d.spark-app.store_${STORE_URL}_Packages" ] && \
|
||||
[ ! -e "/var/lib/aptss/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" ] && \
|
||||
[ ! -e "/var/lib/aptss/lists/mirrors.sdu.edu.cn_spark-store_${STORE_URL}_Packages" ]; then
|
||||
echo "接收星火仓库软件信息中..."
|
||||
aptss ssupdate
|
||||
fi
|
||||
|
||||
if [ -e "/var/lib/aptss/lists/d.spark-app.store_${STORE_URL}_Packages" ]; then
|
||||
PACKAGES_DATA_PATH="/var/lib/aptss/lists/d.spark-app.store_${STORE_URL}_Packages"
|
||||
echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是星火域名仓库配置"
|
||||
# 全局变量初始化(位于 parse_args 前)
|
||||
ACE_PARAMS=()
|
||||
|
||||
# 生成ACE环境参数帮助信息
|
||||
function generate_ace_help() {
|
||||
local help_text=""
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
local ace_param="--${ace_entry#*:}"
|
||||
help_text+=" $ace_param 使用${ace_entry%%:*} ACE容器安装\n"
|
||||
done
|
||||
echo -e "$help_text"
|
||||
}
|
||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||
# 脚本工作变量
|
||||
DELETE_AFTER_INSTALL="0"
|
||||
DEBPATH=""
|
||||
FORCE_ACE_ENV=""
|
||||
FORCE_NATIVE="0"
|
||||
NO_CREATE_DESKTOP="0"
|
||||
FORCE_CREATE_DESKTOP="0"
|
||||
|
||||
# 加载翻译和调试
|
||||
load_transhell_debug
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# 根据架构设置仓库URL
|
||||
case $(arch) in
|
||||
x86_64) STORE_URL="store" ;;
|
||||
aarch64) STORE_URL="aarch64-store" ;;
|
||||
loongarch64) STORE_URL="loong64-store" ;;
|
||||
esac
|
||||
# 帮助函数
|
||||
function show_help() {
|
||||
echo "Spark Store Anstall script. 星火商店审核脚本"
|
||||
echo "用法: $0 [选项] <deb路径>"
|
||||
echo "选项:"
|
||||
echo " -h, --help 显示帮助信息"
|
||||
echo " --delete-after-install 安装成功后删除软件包"
|
||||
echo " --no-create-desktop-entry 不创建桌面快捷方式"
|
||||
echo " --force-create-desktop-entry 强制创建桌面快捷方式"
|
||||
echo "$(generate_ace_help)"
|
||||
echo " --native 只在主机安装,不使用ACE容器"
|
||||
}
|
||||
# 参数解析
|
||||
function parse_args() {
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
-h|--help)
|
||||
show_help
|
||||
exit 0
|
||||
;;
|
||||
--delete-after-install)
|
||||
DELETE_AFTER_INSTALL="1"
|
||||
shift
|
||||
;;
|
||||
--native)
|
||||
FORCE_NATIVE="1"
|
||||
shift
|
||||
;;
|
||||
--no-create-desktop-entry)
|
||||
NO_CREATE_DESKTOP="1"
|
||||
shift
|
||||
;;
|
||||
--force-create-desktop-entry)
|
||||
FORCE_CREATE_DESKTOP="1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
# 检查是否为ACE环境参数
|
||||
local is_ace_param=0
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
local ace_param="--${ace_entry#*:}"
|
||||
if [ "$1" = "$ace_param" ]; then
|
||||
# 将ACE环境命令名加入数组
|
||||
ACE_PARAMS+=("${ace_entry%%:*}")
|
||||
is_ace_param=1
|
||||
shift
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# 如果不是ACE环境参数,则视为DEB路径
|
||||
if [ "$is_ace_param" -eq 0 ]; then
|
||||
DEBPATH="$1"
|
||||
shift
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
# 验证当前用户
|
||||
function validate_user() {
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "${TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT}"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# 验证文件存在或尝试下载
|
||||
function validate_or_download_file() {
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "${TRANSHELL_CONTENT_FILE_NOT_EXIST},Trying to redownload"
|
||||
aptss update
|
||||
FILEPATH=$(dirname "$1")
|
||||
FILENAME=$(basename "$1")
|
||||
PACKAGE_NAME=$(echo "$FILENAME" | sed -r 's/^([^_]+)_.*$/\1/')
|
||||
VERSION=$(echo "$FILENAME" | sed -r 's/^[^_]+_([^_]+)_.*$/\1/')
|
||||
pushd "${FILEPATH}" >/dev/null || exit 1
|
||||
aptss download "${PACKAGE_NAME}"
|
||||
popd >/dev/null || exit 1
|
||||
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# 哈希校验
|
||||
function hash_check() {
|
||||
local PACKAGES_DATA_PATH=""
|
||||
|
||||
# 检查可能的仓库位置
|
||||
if [ -e "/var/lib/aptss/lists/${SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL}_${STORE_URL}_Packages" ]; then
|
||||
PACKAGES_DATA_PATH="/var/lib/aptss/lists/${SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL}_${STORE_URL}_Packages"
|
||||
elif [ -e "/var/lib/aptss/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" ]; then
|
||||
PACKAGES_DATA_PATH="/var/lib/aptss/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages"
|
||||
echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是d域名单目录仓库配置"
|
||||
else
|
||||
PACKAGES_DATA_PATH="/var/lib/aptss/lists/mirrors.sdu.edu.cn_spark-store-repository_${STORE_URL}_Packages"
|
||||
echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是SDU镜像仓库配置"
|
||||
fi
|
||||
|
||||
echo "正在运行包验证..."
|
||||
@ -83,31 +172,20 @@ function hash_check() {
|
||||
|
||||
DEB_SHA512SUM=$(sha512sum "$1" | cut -d ' ' -f 1)
|
||||
unset IS_SHA512SUM_CHECKED
|
||||
IS_SHA512SUM_CHECKED=$(cat "$PACKAGES_DATA_PATH" | grep "$DEB_SHA512SUM")
|
||||
IS_SHA512SUM_CHECKED=$(grep -F "$DEB_SHA512SUM" "$PACKAGES_DATA_PATH")
|
||||
}
|
||||
|
||||
function lock_file(){
|
||||
chattr +i "$1"
|
||||
}
|
||||
|
||||
function unlock_file(){
|
||||
chattr -i "$1"
|
||||
}
|
||||
|
||||
function ensure_aptss_exist(){
|
||||
|
||||
if command -v aptss &>/dev/null; then
|
||||
aptss update
|
||||
else
|
||||
# 确保aptss存在
|
||||
function ensure_aptss_exist() {
|
||||
if ! command -v aptss &>/dev/null; then
|
||||
apt update
|
||||
local deb_file="/tmp/spark-store-console-in-container_latest_all.deb"
|
||||
|
||||
# Download package
|
||||
if ! wget -O "$deb_file" "https://amber-ce-resource.spark-app.store/store/depends/spark-store-console-in-container_latest_all.deb"; then
|
||||
echo "下载 .deb 安装包失败" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Install package
|
||||
if ! apt install -y "$deb_file"; then
|
||||
echo "安装 .deb 包失败" >&2
|
||||
rm -f "$deb_file"
|
||||
@ -115,7 +193,6 @@ function ensure_aptss_exist(){
|
||||
fi
|
||||
rm -f "$deb_file"
|
||||
|
||||
# Verify installation
|
||||
if ! command -v aptss &>/dev/null; then
|
||||
echo "成功安装但未找到 aptss 命令" >&2
|
||||
return 1
|
||||
@ -123,150 +200,343 @@ function ensure_aptss_exist(){
|
||||
fi
|
||||
}
|
||||
export -f ensure_aptss_exist
|
||||
####################################
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "没有接收到参数,退出"
|
||||
echo "用法:$0 deb路径"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit
|
||||
fi
|
||||
# 确保ACE环境存在
|
||||
# 确保ACE环境存在
|
||||
function ensure_ace_env() {
|
||||
local ace_env_pkg="${1}"
|
||||
local ace_cmd=""
|
||||
|
||||
# 根据配置找到对应命令
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
if [ "${ace_entry#*:}" = "$ace_env_pkg" ]; then
|
||||
ace_cmd="${ace_entry%%:*}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "${TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT}"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "${TRANSHELL_CONTENT_FILE_NOT_EXIST},Trying to redownload"
|
||||
FILEPATH=$(dirname "$1")
|
||||
FILENAME=$(basename "$1")
|
||||
PACKAGE_NAME=$(echo "$FILENAME" | sed -r 's/^([^_]+)_.*$/\1/')
|
||||
VERSION=$(echo "$FILENAME" | sed -r 's/^[^_]+_([^_]+)_.*$/\1/')
|
||||
pushd ${FILEPATH}
|
||||
aptss download ${PACKAGE_NAME}
|
||||
popd
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
else
|
||||
DEBPATH=$(realpath "$1")
|
||||
# 如果命令存在,则说明环境已可用
|
||||
if command -v "$ace_cmd" &>/dev/null; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
echo "ACE环境 $ace_env_pkg 未安装,正在尝试安装..."
|
||||
zenity --info --text="首次使用 $ace_env_pkg 环境,重启或注销桌面后才能在启动器中展示,不影响应用启动。安装将在后台继续。" --title="ACE环境安装" &
|
||||
if ! aptss install -y "$ace_env_pkg"; then
|
||||
echo "安装 $ace_env_pkg 失败"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# 再次确认命令
|
||||
if command -v "$ace_cmd" &>/dev/null; then
|
||||
return 0
|
||||
else
|
||||
DEBPATH=$(realpath "$1")
|
||||
fi
|
||||
echo "ACE环境 $ace_env_pkg 安装后未检测到命令 $ace_cmd"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
lock_file "$DEBPATH"
|
||||
export user=$(who | awk '{print $1}' | head -n 1)
|
||||
# 在桌面创建快捷方式
|
||||
function create_desktop_file() {
|
||||
# 如果明确要求不要创建或明确要创建,则跳过配置文件检查
|
||||
if [ "$NO_CREATE_DESKTOP" -eq 1 ]; then
|
||||
echo "根据参数要求,跳过创建桌面快捷方式"
|
||||
return
|
||||
fi
|
||||
|
||||
if [ "$FORCE_CREATE_DESKTOP" -eq 0 ]; then
|
||||
if [ -e "$(sudo -u "$user" xdg-user-dir)/.config/spark-union/spark-store/ssshell-config-do-not-create-desktop" ]; then
|
||||
echo "根据配置要求,跳过创建桌面快捷方式"
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
exec_create_desktop_file
|
||||
}
|
||||
export CURRENT_USER_DIR_DESKTOP=$(sudo -u "$user" xdg-user-dir DESKTOP)
|
||||
function exec_create_desktop_file() {
|
||||
local desktop_files=()
|
||||
|
||||
# 收集所有桌面文件
|
||||
desktop_files+=($(dpkg -L "$package_name" | grep '/usr/share/applications/.*\.desktop$'))
|
||||
desktop_files+=($(dpkg -L "$package_name" | grep '/opt/apps/'"$package_name"'/entries/applications/.*\.desktop$'))
|
||||
|
||||
for desktop_file_path in "${desktop_files[@]}"; do
|
||||
if [ "$FORCE_CREATE_DESKTOP" -eq 1 ] || [ -z "$(grep 'NoDisplay=true' "$desktop_file_path")" ]; then
|
||||
echo "$desktop_file_path is checked and will be installed to desktop"
|
||||
chmod +x "$desktop_file_path"
|
||||
sudo -u "$user" cp "$desktop_file_path" "${CURRENT_USER_DIR_DESKTOP}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
export -f exec_create_desktop_file
|
||||
|
||||
IS_SHA512SUM_CHECKED=skipped
|
||||
# 在ACE环境中创建桌面快捷方式
|
||||
function create_desktop_in_ace() {
|
||||
local ace_cmd="$1"
|
||||
local package_name="$2"
|
||||
|
||||
# 如果明确要求不要创建,则直接返回
|
||||
if [ "$NO_CREATE_DESKTOP" -eq 1 ]; then
|
||||
echo "根据参数要求,跳过在ACE中创建桌面快捷方式"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# 如果是强制创建,或者没有配置禁止创建
|
||||
if [ "$FORCE_CREATE_DESKTOP" -eq 1 ] || ! $ace_cmd "[ -e ~/.config/spark-union/spark-store/ssshell-config-do-not-create-desktop ]"; then
|
||||
echo "在ACE环境中创建桌面快捷方式..."
|
||||
export -f exec_create_desktop_file
|
||||
export package_name
|
||||
export FORCE_CREATE_DESKTOP
|
||||
$ace_cmd "exec_create_desktop_file"
|
||||
else
|
||||
echo "根据ACE环境中的配置,跳过创建桌面快捷方式"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
echo "校验跳过,开始安装"
|
||||
echo "----------------------------------------------------------------------------------"
|
||||
package_name=$(dpkg-deb -f "$DEBPATH" Package)
|
||||
echo "Package name is $package_name"
|
||||
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
|
||||
try_run_ret="$?"
|
||||
# 安装失败后进行 aptss 刷新,随后尝试在主机安装
|
||||
if [ "$try_run_ret" -ne 0 ]; then
|
||||
aptss update
|
||||
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
|
||||
try_run_ret="$?"
|
||||
fi
|
||||
# 在指定ACE环境中安装
|
||||
function install_in_ace_env() {
|
||||
local ace_cmd="$1"
|
||||
local deb_path="$2"
|
||||
local ace_env_pkg="${3#*:}"
|
||||
|
||||
if [ "$IS_ACE_ENV" != "" ] || command -v termux-chroot; then
|
||||
echo "无法在ACE/termux/小小电脑中安装ACE包"
|
||||
return 1
|
||||
fi
|
||||
if ! ensure_ace_env "$ace_env_pkg"; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
echo "----------------------------------------"
|
||||
echo "正在尝试使用 $ace_cmd 环境安装..."
|
||||
echo "----------------------------------------"
|
||||
$ace_cmd "ensure_aptss_exist"
|
||||
|
||||
if [ "$try_run_ret" -ne 0 ]; then ## 若安装检测仍然失败
|
||||
if [[ "$IS_ACE_ENV" == "" ]];then ## 如果未在ACE环境中
|
||||
# 定义按顺序尝试的ACE环境(命令:推荐安装包)
|
||||
declare -a ace_commands_order=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
"deepin23-run:amber-ce-deepin23"
|
||||
)
|
||||
|
||||
success=false
|
||||
recommendation_msg=""
|
||||
# 收集所有推荐信息
|
||||
for ace_entry in "${ace_commands_order[@]}"; do
|
||||
recommendation_msg+="您可安装 ${ace_entry%%:*} 兼容环境后重试: ${ace_entry#*:}\n"
|
||||
done
|
||||
# 首先尝试dry-run测试
|
||||
if ! $ace_cmd "aptss install --dry-run '$deb_path'"; then
|
||||
echo "初始dry-run测试失败,尝试更新后重试..."
|
||||
$ace_cmd "aptss update"
|
||||
if ! $ace_cmd "aptss install --dry-run '$deb_path'"; then
|
||||
echo "dry-run测试仍然失败,放弃安装"
|
||||
echo "OMG_IT_GOES_WRONG"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# dry-run成功后执行实际安装
|
||||
$ace_cmd "aptss install store.spark-app.app-runtime-base --no-install-recommends -yfq"
|
||||
if $ace_cmd "dpkg -i '$deb_path' || aptss install '$deb_path' -yfq"; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
# 按顺序尝试每个ACE环境
|
||||
for ace_entry in "${ace_commands_order[@]}"; do
|
||||
ace_cmd=${ace_entry%%:*}
|
||||
if command -v "$ace_cmd" >/dev/null 2>&1; then
|
||||
echo "----------------------------------------"
|
||||
echo "正在尝试使用 $ace_cmd 环境安装..."
|
||||
echo "----------------------------------------"
|
||||
|
||||
# 在ACE环境中执行安装检测
|
||||
$ace_cmd ensure_aptss_exist
|
||||
try_run_output=$($ace_cmd aptss install --dry-run "$DEBPATH" 2>&1)
|
||||
try_run_ret="$?"
|
||||
|
||||
# 如果首次检测失败则更新后重试
|
||||
if [ "$try_run_ret" -ne 0 ]; then
|
||||
$ace_cmd aptss update
|
||||
try_run_output=$($ace_cmd aptss install --dry-run "$DEBPATH" 2>&1)
|
||||
try_run_ret="$?"
|
||||
fi
|
||||
# 在主机安装
|
||||
function install_in_host() {
|
||||
local deb_path="$1"
|
||||
|
||||
# 首先尝试dry-run测试
|
||||
if ! aptss install --dry-run "$deb_path"; then
|
||||
echo "初始dry-run测试失败,尝试更新后重试..."
|
||||
aptss update
|
||||
if ! aptss install --dry-run "$deb_path"; then
|
||||
echo "dry-run测试仍然失败,放弃安装"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# dry-run成功后执行实际安装
|
||||
if dpkg -i "$deb_path" || aptss install "$deb_path" -yfq; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
# 最终检测结果处理
|
||||
if [ "$try_run_ret" -eq 0 ]; then
|
||||
echo "----------------------------------------"
|
||||
echo "在 $ace_cmd 环境中预检成功,开始安装..."
|
||||
echo "----------------------------------------"
|
||||
$ace_cmd 'dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf'
|
||||
success=true
|
||||
break # 跳出循环
|
||||
else
|
||||
echo "----------------------------------------"
|
||||
echo "在 $ace_cmd 环境中安装预检失败,错误信息:"
|
||||
echo -e "${try_run_output}"
|
||||
echo "----------------------------------------"
|
||||
# 自动尝试在各种环境中安装
|
||||
function auto_try_install() {
|
||||
local deb_path="$1"
|
||||
|
||||
# 首先尝试在主机安装
|
||||
if install_in_host "$deb_path"; then
|
||||
create_desktop_file
|
||||
return 0
|
||||
fi
|
||||
|
||||
# 如果主机安装失败,并非在ACE内运行且不在强制本地模式,尝试ACE环境
|
||||
if [ "$FORCE_NATIVE" -eq 0 ] && [ "$IS_ACE_ENV" = "" ] && ! command -v termux-chroot; then
|
||||
for ace_entry in "${ACE_ENVIRONMENTS_FOR_AUTOINSTALL[@]}"; do
|
||||
local ace_cmd=${ace_entry%%:*}
|
||||
local ace_env_pkg=${ace_entry#*:}
|
||||
|
||||
# 确保ACE环境存在
|
||||
if ensure_ace_env "$ace_env_pkg"; then
|
||||
if install_in_ace_env "$ace_cmd" "$deb_path" "$ace_env_pkg"; then
|
||||
# 在ACE环境中创建桌面快捷方式
|
||||
create_desktop_in_ace "$ace_cmd" "$package_name"
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if ! $success; then
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
echo -e "${try_run_output}"
|
||||
echo -e "所有ACE环境尝试失败,推荐安装以下任一兼容环境:\n${recommendation_msg}"
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
# 清理安装后的文件
|
||||
function post_install_cleanup() {
|
||||
local success=$1
|
||||
local deb_path="$2"
|
||||
local package_name="$3"
|
||||
|
||||
if [ "$success" -eq 0 ] && [ "$DELETE_AFTER_INSTALL" -eq "1" ]; then
|
||||
# 检查是否安装在主机
|
||||
if [ "$FORCE_NATIVE" -eq 1 ] || [ -n "$FORCE_ACE_ENV" ]; then
|
||||
if [ "$FORCE_NATIVE" -eq 1 ]; then
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包已在主机安装:$package_name"
|
||||
create_desktop_file
|
||||
unlock_file "$deb_path"
|
||||
rm "$deb_path"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
else
|
||||
echo "软件包未在主机安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
# ACE环境中安装的情况,不检查主机dpkg数据库
|
||||
echo "软件包已在ACE环境安装:$package_name"
|
||||
unlock_file "$deb_path"
|
||||
rm "$deb_path"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
fi
|
||||
else
|
||||
# 自动模式下,如果ACE安装成功也会走到这里
|
||||
echo "软件包已安装:$package_name"
|
||||
unlock_file "$deb_path"
|
||||
rm "$deb_path"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
fi
|
||||
else
|
||||
echo "${TRANSHELL_CONTENT_WILL_NOT_DELETE_DEB}"
|
||||
if [ "$FORCE_NATIVE" -eq 1 ] && ! dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包未在主机安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
elif [ -n "$FORCE_ACE_ENV" ] && ! command -v "$FORCE_ACE_ENV" >/dev/null 2>&1; then
|
||||
echo "指定的ACE环境不可用"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
else # 已经在ACE环境中仍失败直接退出
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
echo -e "${try_run_output}"
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
else ## 如果主机安装检测成功
|
||||
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
|
||||
fi
|
||||
}
|
||||
|
||||
### 退出阶段保持不变 ###
|
||||
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包已安装:$package_name"
|
||||
create_desktop_file
|
||||
unlock_file $DEBPATH
|
||||
rm "$DEBPATH"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
else
|
||||
echo "软件包未安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
# 文件锁定/解锁函数
|
||||
function lock_file() {
|
||||
chattr +i "$1"
|
||||
}
|
||||
|
||||
function unlock_file() {
|
||||
if [ -e "$1" ];then
|
||||
chattr -i "$1"
|
||||
fi
|
||||
else
|
||||
echo "${TRANSHELL_CONTENT_WILL_NOT_DELETE_DEB}"
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包已安装:$package_name"
|
||||
create_desktop_file
|
||||
else
|
||||
echo "软件包未安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
}
|
||||
|
||||
# 主安装流程
|
||||
function main_install() {
|
||||
parse_args "$@"
|
||||
|
||||
if [ -z "$DEBPATH" ]; then
|
||||
echo "没有接收到参数,退出"
|
||||
show_help
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# 设置退出时的文件解锁
|
||||
trap 'unlock_file $DEBPATH' EXIT
|
||||
validate_user
|
||||
validate_or_download_file "$DEBPATH"
|
||||
|
||||
DEBPATH=$(realpath "$DEBPATH")
|
||||
lock_file "$DEBPATH"
|
||||
|
||||
|
||||
|
||||
package_name=$(dpkg-deb -f "$DEBPATH" Package)
|
||||
local install_success=1
|
||||
if [ "$FORCE_NATIVE" -eq 1 ] || [ "$IS_ACE_ENV" = "1" ]; then
|
||||
# 优先使用主机安装,忽略所有ACE参数
|
||||
echo "忽略ACE,使用主机安装 $package_name"
|
||||
install_in_host "$DEBPATH"
|
||||
install_success=$?
|
||||
# 安装成功后在主机创建桌面快捷方式
|
||||
if [ "$install_success" -eq 0 ]; then
|
||||
create_desktop_file
|
||||
fi
|
||||
|
||||
elif [ ${#ACE_PARAMS[@]} -gt 0 ] && [ "$IS_ACE_ENV" = "" ]; then
|
||||
# 用户指定了一个或多个ACE环境,且未要求原生安装
|
||||
echo "使用ACE环境安装,已指定环境: ${ACE_PARAMS[*]}"
|
||||
|
||||
# 查找第一个已安装的ACE环境
|
||||
chosen_env=""
|
||||
for env_cmd in "${ACE_PARAMS[@]}"; do
|
||||
if command -v "$env_cmd" >/dev/null 2>&1; then
|
||||
chosen_env="$env_cmd"
|
||||
break
|
||||
fi
|
||||
done
|
||||
# 如果没有安装任何环境,则使用第一个指定的环境
|
||||
if [ -z "$chosen_env" ]; then
|
||||
chosen_env="${ACE_PARAMS[0]}"
|
||||
echo "未发现已安装的ACE环境,准备安装 $chosen_env..."
|
||||
# 查找对应的ACE环境软件包名
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
if [ "${ace_entry%%:*}" = "$chosen_env" ]; then
|
||||
ace_pkg="${ace_entry#*:}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
# 安装ACE环境(示例使用aptss工具,可根据实际情况调整)
|
||||
ensure_ace_env "$ace_pkg" -y
|
||||
fi
|
||||
|
||||
# 再次确认ACE环境命令是否可用
|
||||
if command -v "$chosen_env" >/dev/null 2>&1; then
|
||||
# 查找软件包名(仅首次查找即可)
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
if [ "${ace_entry%%:*}" = "$chosen_env" ]; then
|
||||
ace_pkg="${ace_entry#*:}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
echo "在 ACE 环境 $chosen_env 中安装 $package_name"
|
||||
install_in_ace_env "$chosen_env" "$DEBPATH" "$ace_pkg"
|
||||
install_success=$?
|
||||
if [ "$install_success" -eq 0 ]; then
|
||||
create_desktop_in_ace "$chosen_env" "$package_name"
|
||||
fi
|
||||
else
|
||||
echo "指定的ACE环境 $chosen_env 不可用"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
else
|
||||
# 未指定ACE环境和--native,使用自动安装逻辑(先主机再ACE)
|
||||
echo "自动选择安装方式"
|
||||
auto_try_install "$DEBPATH"
|
||||
install_success=$?
|
||||
fi
|
||||
|
||||
post_install_cleanup "$install_success" "$DEBPATH" "$package_name"
|
||||
}
|
||||
|
||||
# 执行主函数
|
||||
main_install "$@"
|
||||
|
706
tool/ssinstall
@ -1,83 +1,170 @@
|
||||
#!/bin/bash
|
||||
SPARK_DOWNLOAD_SERVER_URL="https://d.spark-app.store/"
|
||||
SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL="d.spark-app.store"
|
||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||
# 初始化常量和全局变量
|
||||
readonly SPARK_DOWNLOAD_SERVER_URL="https://d.spark-app.store/"
|
||||
readonly SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL="d.spark-app.store"
|
||||
# ACE环境配置 - 修改此数组即可添加或删除支持的环境——记得修改 store-helper 里的 uninstaller check-is-installed 和 ss-launcher
|
||||
readonly ACE_ENVIRONMENTS=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
"deepin23-run:amber-ce-deepin23"
|
||||
"sid-run:amber-ce-sid"
|
||||
)
|
||||
readonly ACE_ENVIRONMENTS_FOR_AUTOINSTALL=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
)
|
||||
function get_current_user() {
|
||||
# 优先通过 who 命令获取用户
|
||||
local user
|
||||
user=$(who | awk '{print $1}' | head -n 1 2>/dev/null)
|
||||
|
||||
load_transhell_debug
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# 如果 who 无输出,则通过 loginctl 获取
|
||||
if [[ -z "$user" ]]; then
|
||||
user=$(loginctl list-sessions --no-legend 2>/dev/null | awk '{print $3}' | head -n 1)
|
||||
fi
|
||||
|
||||
trap 'unlock_file $DEBPATH' EXIT
|
||||
case $(arch) in
|
||||
x86_64)
|
||||
STORE_URL="store"
|
||||
;;
|
||||
aarch64)
|
||||
STORE_URL="aarch64-store"
|
||||
;;
|
||||
loongarch64)
|
||||
STORE_URL="loong64-store"
|
||||
STORE_LIST_URL="-loong64"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Spark Store Install script. 星火商店安装脚本"
|
||||
|
||||
function pkexec_as_current_user() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
local uid=$(id -u "$user")
|
||||
sudo -u "$user" DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/"$uid"/bus pkexec "$@"
|
||||
# 返回最终结果(可能为空)
|
||||
echo "${user}"
|
||||
}
|
||||
function create_desktop_file() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
if [ -e $(sudo -u "$user" xdg-user-dir)/.config/spark-union/spark-store/ssshell-config-do-not-create-desktop ];then
|
||||
echo "It is configured that do not create desktop file. Give up"
|
||||
else
|
||||
exec_create_desktop_file
|
||||
fi
|
||||
}
|
||||
function exec_create_desktop_file() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /usr/share/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
echo $desktop_file_path is checked and will be installed to desktop
|
||||
sudo -u "$user" cp "$desktop_file_path" "$(sudo -u "$user" xdg-user-dir DESKTOP)/"
|
||||
fi
|
||||
done
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /opt/apps/$package_name/entries/applications | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
echo $desktop_file_path is checked and will be installed to desktop
|
||||
chmod +x $desktop_file_path
|
||||
sudo -u "$user" cp "$desktop_file_path" "$(sudo -u "$user" xdg-user-dir DESKTOP)/"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function zenity() {
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
local user=$(get_current_user)
|
||||
local uid=$(id -u "$user")
|
||||
sudo -u "$user" DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/"$uid"/bus zenity "$@"
|
||||
}
|
||||
|
||||
function hash_check() {
|
||||
if [ ! -e "/var/lib/aptss/lists/${SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL}_${STORE_URL}_Packages" ] && \
|
||||
[ ! -e "/var/lib/aptss/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" ] && \
|
||||
[ ! -e "/var/lib/aptss/lists/mirrors.sdu.edu.cn_spark-store_${STORE_URL}_Packages" ]; then
|
||||
echo "接收星火仓库软件信息中..."
|
||||
aptss ssupdate
|
||||
fi
|
||||
|
||||
# 全局变量初始化(位于 parse_args 前)
|
||||
ACE_PARAMS=()
|
||||
|
||||
# 生成ACE环境参数帮助信息
|
||||
function generate_ace_help() {
|
||||
local help_text=""
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
local ace_param="--${ace_entry#*:}"
|
||||
help_text+=" $ace_param 使用${ace_entry%%:*} ACE容器安装\n"
|
||||
done
|
||||
echo -e "$help_text"
|
||||
}
|
||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||
# 脚本工作变量
|
||||
DELETE_AFTER_INSTALL="0"
|
||||
DEBPATH=""
|
||||
FORCE_ACE_ENV=""
|
||||
FORCE_NATIVE="0"
|
||||
NO_CREATE_DESKTOP="0"
|
||||
FORCE_CREATE_DESKTOP="0"
|
||||
|
||||
# 加载翻译和调试
|
||||
load_transhell_debug
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# 根据架构设置仓库URL
|
||||
case $(arch) in
|
||||
x86_64) STORE_URL="store" ;;
|
||||
aarch64) STORE_URL="aarch64-store" ;;
|
||||
loongarch64) STORE_URL="loong64-store" ;;
|
||||
esac
|
||||
# 帮助函数
|
||||
function show_help() {
|
||||
echo "Spark Store Install script. 星火商店安装脚本"
|
||||
echo "用法: $0 [选项] <deb路径>"
|
||||
echo "选项:"
|
||||
echo " -h, --help 显示帮助信息"
|
||||
echo " --delete-after-install 安装成功后删除软件包"
|
||||
echo " --no-create-desktop-entry 不创建桌面快捷方式"
|
||||
echo " --force-create-desktop-entry 强制创建桌面快捷方式"
|
||||
echo "$(generate_ace_help)"
|
||||
echo " --native 只在主机安装,不使用ACE容器"
|
||||
}
|
||||
# 参数解析
|
||||
function parse_args() {
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
-h|--help)
|
||||
show_help
|
||||
exit 0
|
||||
;;
|
||||
--delete-after-install)
|
||||
DELETE_AFTER_INSTALL="1"
|
||||
shift
|
||||
;;
|
||||
--native)
|
||||
FORCE_NATIVE="1"
|
||||
shift
|
||||
;;
|
||||
--no-create-desktop-entry)
|
||||
NO_CREATE_DESKTOP="1"
|
||||
shift
|
||||
;;
|
||||
--force-create-desktop-entry)
|
||||
FORCE_CREATE_DESKTOP="1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
# 检查是否为ACE环境参数
|
||||
local is_ace_param=0
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
local ace_param="--${ace_entry#*:}"
|
||||
if [ "$1" = "$ace_param" ]; then
|
||||
# 将ACE环境命令名加入数组
|
||||
ACE_PARAMS+=("${ace_entry%%:*}")
|
||||
is_ace_param=1
|
||||
shift
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# 如果不是ACE环境参数,则视为DEB路径
|
||||
if [ "$is_ace_param" -eq 0 ]; then
|
||||
DEBPATH="$1"
|
||||
shift
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
# 验证当前用户
|
||||
function validate_user() {
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "${TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT}"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# 验证文件存在或尝试下载
|
||||
function validate_or_download_file() {
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "${TRANSHELL_CONTENT_FILE_NOT_EXIST},Trying to redownload"
|
||||
aptss update
|
||||
FILEPATH=$(dirname "$1")
|
||||
FILENAME=$(basename "$1")
|
||||
PACKAGE_NAME=$(echo "$FILENAME" | sed -r 's/^([^_]+)_.*$/\1/')
|
||||
VERSION=$(echo "$FILENAME" | sed -r 's/^[^_]+_([^_]+)_.*$/\1/')
|
||||
pushd "${FILEPATH}" >/dev/null || exit 1
|
||||
aptss download "${PACKAGE_NAME}"
|
||||
popd >/dev/null || exit 1
|
||||
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# 哈希校验
|
||||
function hash_check() {
|
||||
local PACKAGES_DATA_PATH=""
|
||||
|
||||
# 检查可能的仓库位置
|
||||
if [ -e "/var/lib/aptss/lists/${SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL}_${STORE_URL}_Packages" ]; then
|
||||
PACKAGES_DATA_PATH="/var/lib/aptss/lists/${SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL}_${STORE_URL}_Packages"
|
||||
echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是星火域名仓库配置"
|
||||
elif [ -e "/var/lib/aptss/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" ]; then
|
||||
PACKAGES_DATA_PATH="/var/lib/aptss/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages"
|
||||
echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是d域名单目录仓库配置"
|
||||
else
|
||||
PACKAGES_DATA_PATH="/var/lib/aptss/lists/mirrors.sdu.edu.cn_spark-store-repository_${STORE_URL}_Packages"
|
||||
echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是SDU镜像仓库配置"
|
||||
fi
|
||||
|
||||
echo "正在运行包验证..."
|
||||
@ -85,31 +172,20 @@ function hash_check() {
|
||||
|
||||
DEB_SHA512SUM=$(sha512sum "$1" | cut -d ' ' -f 1)
|
||||
unset IS_SHA512SUM_CHECKED
|
||||
IS_SHA512SUM_CHECKED=$(cat "$PACKAGES_DATA_PATH" | grep "$DEB_SHA512SUM")
|
||||
IS_SHA512SUM_CHECKED=$(grep -F "$DEB_SHA512SUM" "$PACKAGES_DATA_PATH")
|
||||
}
|
||||
|
||||
function lock_file(){
|
||||
chattr +i "$1"
|
||||
}
|
||||
|
||||
function unlock_file(){
|
||||
chattr -i "$1"
|
||||
}
|
||||
|
||||
function ensure_aptss_exist(){
|
||||
|
||||
if command -v aptss &>/dev/null; then
|
||||
aptss update
|
||||
else
|
||||
# 确保aptss存在
|
||||
function ensure_aptss_exist() {
|
||||
if ! command -v aptss &>/dev/null; then
|
||||
apt update
|
||||
local deb_file="/tmp/spark-store-console-in-container_latest_all.deb"
|
||||
|
||||
# Download package
|
||||
if ! wget -O "$deb_file" "https://amber-ce-resource.spark-app.store/store/depends/spark-store-console-in-container_latest_all.deb"; then
|
||||
echo "下载 .deb 安装包失败" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Install package
|
||||
if ! apt install -y "$deb_file"; then
|
||||
echo "安装 .deb 包失败" >&2
|
||||
rm -f "$deb_file"
|
||||
@ -117,7 +193,6 @@ function ensure_aptss_exist(){
|
||||
fi
|
||||
rm -f "$deb_file"
|
||||
|
||||
# Verify installation
|
||||
if ! command -v aptss &>/dev/null; then
|
||||
echo "成功安装但未找到 aptss 命令" >&2
|
||||
return 1
|
||||
@ -125,162 +200,355 @@ function ensure_aptss_exist(){
|
||||
fi
|
||||
}
|
||||
export -f ensure_aptss_exist
|
||||
####################################
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "没有接收到参数,退出"
|
||||
echo "用法:$0 deb路径"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit
|
||||
fi
|
||||
# 确保ACE环境存在
|
||||
# 确保ACE环境存在
|
||||
function ensure_ace_env() {
|
||||
local ace_env_pkg="${1}"
|
||||
local ace_cmd=""
|
||||
|
||||
# 根据配置找到对应命令
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
if [ "${ace_entry#*:}" = "$ace_env_pkg" ]; then
|
||||
ace_cmd="${ace_entry%%:*}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "${TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT}"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "${TRANSHELL_CONTENT_FILE_NOT_EXIST},Trying to redownload"
|
||||
FILEPATH=$(dirname "$1")
|
||||
FILENAME=$(basename "$1")
|
||||
PACKAGE_NAME=$(echo "$FILENAME" | sed -r 's/^([^_]+)_.*$/\1/')
|
||||
VERSION=$(echo "$FILENAME" | sed -r 's/^[^_]+_([^_]+)_.*$/\1/')
|
||||
pushd ${FILEPATH}
|
||||
aptss download ${PACKAGE_NAME}
|
||||
popd
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
else
|
||||
DEBPATH=$(realpath "$1")
|
||||
# 如果命令存在,则说明环境已可用
|
||||
if command -v "$ace_cmd" &>/dev/null; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
echo "ACE环境 $ace_env_pkg 未安装,正在尝试安装..."
|
||||
zenity --info --text="首次使用 $ace_env_pkg 环境,重启或注销桌面后才能在启动器中展示,不影响应用启动。安装将在后台继续。" --title="ACE环境安装" &
|
||||
if ! aptss install -y "$ace_env_pkg"; then
|
||||
echo "安装 $ace_env_pkg 失败"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# 再次确认命令
|
||||
if command -v "$ace_cmd" &>/dev/null; then
|
||||
return 0
|
||||
else
|
||||
DEBPATH=$(realpath "$1")
|
||||
fi
|
||||
echo "ACE环境 $ace_env_pkg 安装后未检测到命令 $ace_cmd"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
lock_file "$DEBPATH"
|
||||
export user=$(who | awk '{print $1}' | head -n 1)
|
||||
# 在桌面创建快捷方式
|
||||
function create_desktop_file() {
|
||||
# 如果明确要求不要创建或明确要创建,则跳过配置文件检查
|
||||
if [ "$NO_CREATE_DESKTOP" -eq 1 ]; then
|
||||
echo "根据参数要求,跳过创建桌面快捷方式"
|
||||
return
|
||||
fi
|
||||
|
||||
if [ "$FORCE_CREATE_DESKTOP" -eq 0 ]; then
|
||||
if [ -e "$(sudo -u "$user" xdg-user-dir)/.config/spark-union/spark-store/ssshell-config-do-not-create-desktop" ]; then
|
||||
echo "根据配置要求,跳过创建桌面快捷方式"
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
exec_create_desktop_file
|
||||
}
|
||||
export CURRENT_USER_DIR_DESKTOP=$(sudo -u "$user" xdg-user-dir DESKTOP)
|
||||
function exec_create_desktop_file() {
|
||||
local desktop_files=()
|
||||
|
||||
# 收集所有桌面文件
|
||||
desktop_files+=($(dpkg -L "$package_name" | grep '/usr/share/applications/.*\.desktop$'))
|
||||
desktop_files+=($(dpkg -L "$package_name" | grep '/opt/apps/'"$package_name"'/entries/applications/.*\.desktop$'))
|
||||
|
||||
for desktop_file_path in "${desktop_files[@]}"; do
|
||||
if [ "$FORCE_CREATE_DESKTOP" -eq 1 ] || [ -z "$(grep 'NoDisplay=true' "$desktop_file_path")" ]; then
|
||||
echo "$desktop_file_path is checked and will be installed to desktop"
|
||||
chmod +x "$desktop_file_path"
|
||||
sudo -u "$user" cp "$desktop_file_path" "${CURRENT_USER_DIR_DESKTOP}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
export -f exec_create_desktop_file
|
||||
|
||||
hash_check "$DEBPATH"
|
||||
# 在ACE环境中创建桌面快捷方式
|
||||
function create_desktop_in_ace() {
|
||||
local ace_cmd="$1"
|
||||
local package_name="$2"
|
||||
|
||||
# 如果明确要求不要创建,则直接返回
|
||||
if [ "$NO_CREATE_DESKTOP" -eq 1 ]; then
|
||||
echo "根据参数要求,跳过在ACE中创建桌面快捷方式"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# 如果是强制创建,或者没有配置禁止创建
|
||||
if [ "$FORCE_CREATE_DESKTOP" -eq 1 ] || ! $ace_cmd "[ -e ~/.config/spark-union/spark-store/ssshell-config-do-not-create-desktop ]"; then
|
||||
echo "在ACE环境中创建桌面快捷方式..."
|
||||
export -f exec_create_desktop_file
|
||||
export package_name
|
||||
export FORCE_CREATE_DESKTOP
|
||||
$ace_cmd "exec_create_desktop_file"
|
||||
else
|
||||
echo "根据ACE环境中的配置,跳过创建桌面快捷方式"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
echo "尝试更新仓库信息重新校验"
|
||||
aptss ssupdate
|
||||
hash_check "$DEBPATH"
|
||||
if [ -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
echo -e "$TRANSHELL_CONTENT_HASH_CHECK_FAILED"
|
||||
zenity --info --icon-name=spark-store --height 270 --width 500 --text "$TRANSHELL_CONTENT_HASH_CHECK_FAILED"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
# 在指定ACE环境中安装
|
||||
function install_in_ace_env() {
|
||||
local ace_cmd="$1"
|
||||
local deb_path="$2"
|
||||
local ace_env_pkg="${3#*:}"
|
||||
|
||||
if [ "$IS_ACE_ENV" != "" ] || command -v termux-chroot; then
|
||||
echo "无法在ACE/termux/小小电脑中安装ACE包"
|
||||
return 1
|
||||
fi
|
||||
if ! ensure_ace_env "$ace_env_pkg"; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
echo "----------------------------------------"
|
||||
echo "正在尝试使用 $ace_cmd 环境安装..."
|
||||
echo "----------------------------------------"
|
||||
$ace_cmd "ensure_aptss_exist"
|
||||
|
||||
if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
echo "校验成功,开始安装"
|
||||
echo "----------------------------------------------------------------------------------"
|
||||
package_name=$(dpkg-deb -f "$DEBPATH" Package)
|
||||
echo "Package name is $package_name"
|
||||
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
|
||||
try_run_ret="$?"
|
||||
# 安装失败后进行 aptss 刷新,随后尝试在主机安装
|
||||
if [ "$try_run_ret" -ne 0 ]; then
|
||||
aptss update
|
||||
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
|
||||
try_run_ret="$?"
|
||||
fi
|
||||
# 首先尝试dry-run测试
|
||||
if ! $ace_cmd "aptss install --dry-run '$deb_path'"; then
|
||||
echo "初始dry-run测试失败,尝试更新后重试..."
|
||||
$ace_cmd "aptss update"
|
||||
if ! $ace_cmd "aptss install --dry-run '$deb_path'"; then
|
||||
echo "dry-run测试仍然失败,放弃安装"
|
||||
echo "OMG_IT_GOES_WRONG"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# dry-run成功后执行实际安装
|
||||
$ace_cmd "aptss install store.spark-app.app-runtime-base --no-install-recommends -yfq"
|
||||
if $ace_cmd "dpkg -i '$deb_path' || aptss install '$deb_path' -yfq"; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
if [ "$try_run_ret" -ne 0 ]; then ## 若安装检测仍然失败
|
||||
if [[ "$IS_ACE_ENV" == "" ]];then ## 如果未在ACE环境中
|
||||
# 定义按顺序尝试的ACE环境(命令:推荐安装包)
|
||||
declare -a ace_commands_order=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
"deepin23-run:amber-ce-deepin23"
|
||||
)
|
||||
|
||||
success=false
|
||||
recommendation_msg=""
|
||||
# 收集所有推荐信息
|
||||
for ace_entry in "${ace_commands_order[@]}"; do
|
||||
recommendation_msg+="您可安装 ${ace_entry%%:*} 兼容环境后重试: ${ace_entry#*:}\n"
|
||||
done
|
||||
# 在主机安装
|
||||
function install_in_host() {
|
||||
local deb_path="$1"
|
||||
|
||||
# 首先尝试dry-run测试
|
||||
if ! aptss install --dry-run "$deb_path"; then
|
||||
echo "初始dry-run测试失败,尝试更新后重试..."
|
||||
aptss update
|
||||
if ! aptss install --dry-run "$deb_path"; then
|
||||
echo "dry-run测试仍然失败,放弃安装"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# dry-run成功后执行实际安装
|
||||
if dpkg -i "$deb_path" || aptss install "$deb_path" -yfq; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
# 按顺序尝试每个ACE环境
|
||||
for ace_entry in "${ace_commands_order[@]}"; do
|
||||
ace_cmd=${ace_entry%%:*}
|
||||
if command -v "$ace_cmd" >/dev/null 2>&1; then
|
||||
echo "----------------------------------------"
|
||||
echo "正在尝试使用 $ace_cmd 环境安装..."
|
||||
echo "----------------------------------------"
|
||||
|
||||
# 在ACE环境中执行安装检测
|
||||
$ace_cmd ensure_aptss_exist
|
||||
try_run_output=$($ace_cmd aptss install --dry-run "$DEBPATH" 2>&1)
|
||||
try_run_ret="$?"
|
||||
|
||||
# 如果首次检测失败则更新后重试
|
||||
if [ "$try_run_ret" -ne 0 ]; then
|
||||
$ace_cmd aptss update
|
||||
try_run_output=$($ace_cmd aptss install --dry-run "$DEBPATH" 2>&1)
|
||||
try_run_ret="$?"
|
||||
fi
|
||||
|
||||
# 最终检测结果处理
|
||||
if [ "$try_run_ret" -eq 0 ]; then
|
||||
echo "----------------------------------------"
|
||||
echo "在 $ace_cmd 环境中预检成功,开始安装..."
|
||||
echo "----------------------------------------"
|
||||
$ace_cmd 'dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf'
|
||||
success=true
|
||||
break # 跳出循环
|
||||
else
|
||||
echo "----------------------------------------"
|
||||
echo "在 $ace_cmd 环境中安装预检失败,错误信息:"
|
||||
echo -e "${try_run_output}"
|
||||
echo "----------------------------------------"
|
||||
# 自动尝试在各种环境中安装
|
||||
function auto_try_install() {
|
||||
local deb_path="$1"
|
||||
|
||||
# 首先尝试在主机安装
|
||||
if install_in_host "$deb_path"; then
|
||||
create_desktop_file
|
||||
return 0
|
||||
fi
|
||||
|
||||
# 如果主机安装失败,并非在ACE内运行且不在强制本地模式,尝试ACE环境
|
||||
if [ "$FORCE_NATIVE" -eq 0 ] && [ "$IS_ACE_ENV" = "" ] && ! command -v termux-chroot; then
|
||||
for ace_entry in "${ACE_ENVIRONMENTS_FOR_AUTOINSTALL[@]}"; do
|
||||
local ace_cmd=${ace_entry%%:*}
|
||||
local ace_env_pkg=${ace_entry#*:}
|
||||
|
||||
# 确保ACE环境存在
|
||||
if ensure_ace_env "$ace_env_pkg"; then
|
||||
if install_in_ace_env "$ace_cmd" "$deb_path" "$ace_env_pkg"; then
|
||||
# 在ACE环境中创建桌面快捷方式
|
||||
create_desktop_in_ace "$ace_cmd" "$package_name"
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if ! $success; then
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
echo -e "${try_run_output}"
|
||||
echo -e "所有ACE环境尝试失败,推荐安装以下任一兼容环境:\n${recommendation_msg}"
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
# 清理安装后的文件
|
||||
function post_install_cleanup() {
|
||||
local success=$1
|
||||
local deb_path="$2"
|
||||
local package_name="$3"
|
||||
|
||||
if [ "$success" -eq 0 ] && [ "$DELETE_AFTER_INSTALL" -eq "1" ]; then
|
||||
# 检查是否安装在主机
|
||||
if [ "$FORCE_NATIVE" -eq 1 ] || [ -n "$FORCE_ACE_ENV" ]; then
|
||||
if [ "$FORCE_NATIVE" -eq 1 ]; then
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包已在主机安装:$package_name"
|
||||
create_desktop_file
|
||||
unlock_file "$deb_path"
|
||||
rm "$deb_path"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
else
|
||||
echo "软件包未在主机安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
# ACE环境中安装的情况,不检查主机dpkg数据库
|
||||
echo "软件包已在ACE环境安装:$package_name"
|
||||
unlock_file "$deb_path"
|
||||
rm "$deb_path"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
fi
|
||||
else
|
||||
# 自动模式下,如果ACE安装成功也会走到这里
|
||||
echo "软件包已安装:$package_name"
|
||||
unlock_file "$deb_path"
|
||||
rm "$deb_path"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
fi
|
||||
else
|
||||
echo "${TRANSHELL_CONTENT_WILL_NOT_DELETE_DEB}"
|
||||
if [ "$FORCE_NATIVE" -eq 1 ] && ! dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包未在主机安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
elif [ -n "$FORCE_ACE_ENV" ] && ! command -v "$FORCE_ACE_ENV" >/dev/null 2>&1; then
|
||||
echo "指定的ACE环境不可用"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
else # 已经在ACE环境中仍失败直接退出
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
echo -e "${try_run_output}"
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
else ## 如果主机安装检测成功
|
||||
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
|
||||
fi
|
||||
}
|
||||
|
||||
### 退出阶段保持不变 ###
|
||||
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包已安装:$package_name"
|
||||
create_desktop_file
|
||||
unlock_file $DEBPATH
|
||||
rm "$DEBPATH"
|
||||
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
|
||||
else
|
||||
echo "软件包未安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
# 文件锁定/解锁函数
|
||||
function lock_file() {
|
||||
chattr +i "$1"
|
||||
}
|
||||
|
||||
function unlock_file() {
|
||||
if [ -e "$1" ];then
|
||||
chattr -i "$1"
|
||||
fi
|
||||
else
|
||||
echo "${TRANSHELL_CONTENT_WILL_NOT_DELETE_DEB}"
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
echo "软件包已安装:$package_name"
|
||||
create_desktop_file
|
||||
else
|
||||
echo "软件包未安装:$package_name"
|
||||
echo "安装异常!抛出错误"
|
||||
}
|
||||
|
||||
# 主安装流程
|
||||
function main_install() {
|
||||
parse_args "$@"
|
||||
|
||||
if [ -z "$DEBPATH" ]; then
|
||||
echo "没有接收到参数,退出"
|
||||
show_help
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# 设置退出时的文件解锁
|
||||
trap 'unlock_file $DEBPATH' EXIT
|
||||
validate_user
|
||||
validate_or_download_file "$DEBPATH"
|
||||
|
||||
DEBPATH=$(realpath "$DEBPATH")
|
||||
lock_file "$DEBPATH"
|
||||
|
||||
hash_check "$DEBPATH"
|
||||
|
||||
if [ -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
echo "尝试更新仓库信息重新校验"
|
||||
aptss ssupdate
|
||||
hash_check "$DEBPATH"
|
||||
if [ -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
echo -e "$TRANSHELL_CONTENT_HASH_CHECK_FAILED"
|
||||
zenity --info --icon-name=spark-store --height 270 --width 500 --text "$TRANSHELL_CONTENT_HASH_CHECK_FAILED"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
package_name=$(dpkg-deb -f "$DEBPATH" Package)
|
||||
local install_success=1
|
||||
if [ "$FORCE_NATIVE" -eq 1 ] || [ "$IS_ACE_ENV" = "1" ]; then
|
||||
# 优先使用主机安装,忽略所有ACE参数
|
||||
echo "忽略ACE,使用主机安装 $package_name"
|
||||
install_in_host "$DEBPATH"
|
||||
install_success=$?
|
||||
# 安装成功后在主机创建桌面快捷方式
|
||||
if [ "$install_success" -eq 0 ]; then
|
||||
create_desktop_file
|
||||
fi
|
||||
|
||||
elif [ ${#ACE_PARAMS[@]} -gt 0 ] && [ "$IS_ACE_ENV" = "" ]; then
|
||||
# 用户指定了一个或多个ACE环境,且未要求原生安装
|
||||
echo "使用ACE环境安装,已指定环境: ${ACE_PARAMS[*]}"
|
||||
|
||||
# 查找第一个已安装的ACE环境
|
||||
chosen_env=""
|
||||
for env_cmd in "${ACE_PARAMS[@]}"; do
|
||||
if command -v "$env_cmd" >/dev/null 2>&1; then
|
||||
chosen_env="$env_cmd"
|
||||
break
|
||||
fi
|
||||
done
|
||||
# 如果没有安装任何环境,则使用第一个指定的环境
|
||||
if [ -z "$chosen_env" ]; then
|
||||
chosen_env="${ACE_PARAMS[0]}"
|
||||
echo "未发现已安装的ACE环境,准备安装 $chosen_env..."
|
||||
# 查找对应的ACE环境软件包名
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
if [ "${ace_entry%%:*}" = "$chosen_env" ]; then
|
||||
ace_pkg="${ace_entry#*:}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
# 安装ACE环境(示例使用aptss工具,可根据实际情况调整)
|
||||
ensure_ace_env "$ace_pkg" -y
|
||||
fi
|
||||
|
||||
# 再次确认ACE环境命令是否可用
|
||||
if command -v "$chosen_env" >/dev/null 2>&1; then
|
||||
# 查找软件包名(仅首次查找即可)
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
if [ "${ace_entry%%:*}" = "$chosen_env" ]; then
|
||||
ace_pkg="${ace_entry#*:}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
echo "在 ACE 环境 $chosen_env 中安装 $package_name"
|
||||
install_in_ace_env "$chosen_env" "$DEBPATH" "$ace_pkg"
|
||||
install_success=$?
|
||||
if [ "$install_success" -eq 0 ]; then
|
||||
create_desktop_in_ace "$chosen_env" "$package_name"
|
||||
fi
|
||||
else
|
||||
echo "指定的ACE环境 $chosen_env 不可用"
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
else
|
||||
# 未指定ACE环境和--native,使用自动安装逻辑(先主机再ACE)
|
||||
echo "自动选择安装方式"
|
||||
auto_try_install "$DEBPATH"
|
||||
install_success=$?
|
||||
fi
|
||||
|
||||
post_install_cleanup "$install_success" "$DEBPATH" "$package_name"
|
||||
}
|
||||
|
||||
# 执行主函数
|
||||
main_install "$@"
|
||||
|
@ -1,10 +1,45 @@
|
||||
#!/bin/bash
|
||||
dpkg -l | grep "^ii $1 " > /dev/null
|
||||
readonly ACE_ENVIRONMENTS=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
"deepin23-run:amber-ce-deepin23"
|
||||
"sid-run:amber-ce-sid"
|
||||
)
|
||||
dpkg -s "$1" > /dev/null
|
||||
RET="$?"
|
||||
if [[ "$RET" != "0" ]] && command -v bookworm-run > /dev/null;then
|
||||
echo "Try ACE Bookworm"
|
||||
bookworm-run dpkg -l | grep "^ii $1 " > /dev/null
|
||||
RET="$?"
|
||||
exit "$RET"
|
||||
fi
|
||||
if [[ "$RET" != "0" ]] &&[[ "$IS_ACE_ENV" == "" ]];then ## 如果未在ACE环境中
|
||||
|
||||
|
||||
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
ace_cmd=${ace_entry%%:*}
|
||||
if command -v "$ace_cmd" >/dev/null 2>&1; then
|
||||
echo "----------------------------------------"
|
||||
echo "正在检查 $ace_cmd 环境的安装..."
|
||||
echo "----------------------------------------"
|
||||
|
||||
# 在ACE环境中执行安装检测
|
||||
$ace_cmd dpkg -l | grep "^ii $1 " > /dev/null
|
||||
try_run_ret="$?"
|
||||
|
||||
|
||||
# 最终检测结果处理
|
||||
if [ "$try_run_ret" -eq 0 ]; then
|
||||
echo "----------------------------------------"
|
||||
echo "在 $ace_cmd 环境中找到了安装"
|
||||
echo "----------------------------------------"
|
||||
exit $try_run_ret
|
||||
else
|
||||
echo "----------------------------------------"
|
||||
echo "在 $ace_cmd 环境中未能找到安装,继续查找"
|
||||
echo "----------------------------------------"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
echo "----------------------------------------"
|
||||
echo "所有已安装的 ACE 环境中未能找到安装,退出"
|
||||
echo "----------------------------------------"
|
||||
exit "$RET"
|
||||
fi
|
||||
## 如果在ACE环境中或者未出错
|
||||
exit "$RET"
|
||||
|
@ -1,142 +1,164 @@
|
||||
#!/bin/bash
|
||||
# ===== Log =====
|
||||
# log.info xxx
|
||||
# log.warn xxx
|
||||
# log.info xxx
|
||||
# log.debug xxx
|
||||
# 带颜色的echo
|
||||
function log.color_output() {
|
||||
local color=$1
|
||||
shift 1
|
||||
|
||||
echo >&2 -e "\033[${color}m$@\033[0m"
|
||||
return 0
|
||||
# ===== ACE环境配置 =====
|
||||
readonly ACE_ENVIRONMENTS=(
|
||||
"bookworm-run:amber-ce-bookworm"
|
||||
"trixie-run:amber-ce-trixie"
|
||||
"deepin23-run:amber-ce-deepin23"
|
||||
"sid-run:amber-ce-sid"
|
||||
)
|
||||
|
||||
# ===== 日志和函数 =====
|
||||
[ -f /opt/durapps/spark-store/bin/bashimport/log.amber ] && \
|
||||
source /opt/durapps/spark-store/bin/bashimport/log.amber || {
|
||||
log.info() { echo "INFO: $*"; }
|
||||
log.warn() { echo "WARN: $*"; }
|
||||
log.error() { echo "ERROR: $*"; }
|
||||
log.debug() { echo "DEBUG: $*"; }
|
||||
}
|
||||
|
||||
# Log is named without prefix "utils." for convenience
|
||||
# Usage: log.log <level> ...content
|
||||
function log.log() {
|
||||
if [[ $# < 2 ]]; then
|
||||
return -1
|
||||
fi
|
||||
|
||||
local level=$1
|
||||
shift 1
|
||||
|
||||
case $level in
|
||||
error) log.color_output "0;31" "[ERROR] $@" ;;
|
||||
warn) log.color_output "1;33" "[WARN] $@" ;;
|
||||
info) log.color_output "1;37" "[INFO] $@" ;;
|
||||
debug) log.color_output "1;30" "[DEBUG] $@" ;;
|
||||
esac
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
function log.error() { log.log "error" "$@"; }
|
||||
function log.warn() { log.log "warn" $@; }
|
||||
function log.info() { log.log "info" $@; }
|
||||
function log.debug() { log.log "debug" $@; }
|
||||
|
||||
|
||||
function scan_desktop_file_log(){
|
||||
unset desktop_file_path
|
||||
package_name=$1
|
||||
for desktop_file_path in $(dpkg -L "$1" |grep /usr/share/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
log.info "$desktop_file_path is found."
|
||||
fi
|
||||
done
|
||||
for desktop_file_path in $(dpkg -L "$1" |grep /opt/apps/$package_name/entries/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
log.info "$desktop_file_path is found."
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
}
|
||||
|
||||
function scan_desktop_file(){
|
||||
# ===== 功能函数 =====
|
||||
function scan_desktop_file_log() {
|
||||
unset desktop_file_path
|
||||
local result=""
|
||||
for desktop_file_path in $(dpkg -L "$1" | grep /usr/share/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(grep NoDisplay=true $desktop_file_path)" = "" ]; then
|
||||
result+="$desktop_file_path,"
|
||||
fi
|
||||
done
|
||||
for desktop_file_path in $(dpkg -L "$1" | grep /opt/apps/$package_name/entries/applications | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(grep NoDisplay=true $desktop_file_path)" = "" ]; then
|
||||
result+="$desktop_file_path,"
|
||||
fi
|
||||
done
|
||||
# 去掉最后一个逗号
|
||||
if [ -n "$result" ]; then
|
||||
result=${result%,}
|
||||
fi
|
||||
echo "$result"
|
||||
local package_name=$1
|
||||
# 标准desktop文件检测
|
||||
while IFS= read -r path; do
|
||||
[ -z "$(grep 'NoDisplay=true' "$path")" ] && {
|
||||
log.info "Found valid desktop file: $path"
|
||||
export desktop_file_path="$path"
|
||||
return 0
|
||||
}
|
||||
done < <(dpkg -L "$package_name" 2>/dev/null | grep -E '/usr/share/applications/.*\.desktop$|/opt/apps/.*/entries/applications/.*\.desktop$')
|
||||
|
||||
# 深度环境特殊处理
|
||||
while IFS= read -r path; do
|
||||
[ -z "$(grep 'NoDisplay=true' "$path")" ] && {
|
||||
log.info "Found deepin desktop file: $path"
|
||||
export desktop_file_path="$path"
|
||||
return 0
|
||||
}
|
||||
done < <(find /opt/apps/$package_name -path '*/entries/applications/*.desktop' 2>/dev/null)
|
||||
return 1
|
||||
}
|
||||
|
||||
function launch_app(){
|
||||
|
||||
# 检查是否传入了路径参数
|
||||
if [ -z "$1" ]; then
|
||||
log.error "请传入文件路径作为参数"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DESKTOP_FILE_PATH=$1
|
||||
|
||||
if [[ $DESKTOP_FILE_PATH == file://* ]]; then
|
||||
# 如果是,移除 'file://' 部分并输出结果
|
||||
DESKTOP_FILE_PATH="${DESKTOP_FILE_PATH#file://}"
|
||||
fi
|
||||
|
||||
# 获取文件内容中第一个 Exec= 后的命令
|
||||
exec_command=$(grep -m 1 -oP "(?<=Exec=).*" "$DESKTOP_FILE_PATH")
|
||||
|
||||
# 删除 exec_command 中最后的 % 及其后面的内容
|
||||
exec_command="${exec_command%\%*}"
|
||||
|
||||
# 打印提取的命令
|
||||
log.info "Command is $exec_command"
|
||||
|
||||
# 在默认终端执行命令
|
||||
bash -c "$exec_command"
|
||||
function scan_desktop_file() {
|
||||
local package_name=$1 result=""
|
||||
# 标准结果收集
|
||||
while IFS= read -r path; do
|
||||
[ -z "$(grep 'NoDisplay=true' "$path")" ] && result+="$path,"
|
||||
done < <(dpkg -L "$package_name" 2>/dev/null | grep -E '/usr/share/applications/.*\.desktop$|/opt/apps/.*/entries/applications/.*\.desktop$')
|
||||
|
||||
# 深度环境补充扫描
|
||||
while IFS= read -r path; do
|
||||
[ -z "$(grep 'NoDisplay=true' "$path")" ] && result+="$path,"
|
||||
done < <(find /opt/apps/$package_name -path '*/entries/applications/*.desktop' 2>/dev/null)
|
||||
|
||||
echo "${result%,}"
|
||||
}
|
||||
|
||||
if [ "$#" -lt 2 ];then
|
||||
log.info "Usage: $0 check/launch/list/start packagename/desktop-file"
|
||||
exit -1
|
||||
fi
|
||||
function launch_app() {
|
||||
local DESKTOP_FILE_PATH="${1#file://}"
|
||||
# 提取并净化Exec命令
|
||||
exec_command=$(grep -m1 '^Exec=' "$DESKTOP_FILE_PATH" | cut -d= -f2- | sed 's/%.//g')
|
||||
[ -z "$exec_command" ] && return 1
|
||||
[ ! -z "$IS_ACE_ENV" ] && HOST_PREFIX="host-spawn"
|
||||
exec_command="${HOST_PREFIX} $exec_command"
|
||||
log.info "Launching: $exec_command"
|
||||
${SHELL:-bash} -c " $exec_command" &
|
||||
|
||||
}
|
||||
|
||||
if [ "$1" = "check" ];then
|
||||
# 导出函数以便在ACE环境中使用
|
||||
export -f launch_app scan_desktop_file scan_desktop_file_log log.info log.warn log.debug log.error
|
||||
|
||||
scan_desktop_file_log "$2"
|
||||
if [ "$desktop_file_path" = "" ];then
|
||||
log.error "No desktop file found. exit -1"
|
||||
exit -1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
# ===== ACE环境执行器 =====
|
||||
function ace_runner() {
|
||||
local action=$1
|
||||
local target=$2
|
||||
|
||||
for ace_entry in "${ACE_ENVIRONMENTS[@]}"; do
|
||||
local ace_cmd=${ace_entry%%:*}
|
||||
local ace_env=${ace_entry#*:}
|
||||
|
||||
if ! command -v "$ace_cmd" >/dev/null; then
|
||||
log.debug "$ace_cmd not found, skipping..."
|
||||
continue
|
||||
fi
|
||||
|
||||
log.info "Attempting in $ace_env environment..."
|
||||
|
||||
case "$action" in
|
||||
check)
|
||||
if "$ace_cmd" scan_desktop_file_log "$target"; then
|
||||
log.info "Found desktop file in $ace_env"
|
||||
return 0
|
||||
fi
|
||||
;;
|
||||
list)
|
||||
local result
|
||||
if result=$("$ace_cmd" scan_desktop_file "$target"); then
|
||||
echo "$result"
|
||||
return 0
|
||||
fi
|
||||
;;
|
||||
launch|start)
|
||||
"$ace_cmd" scan_desktop_file_log "$target"
|
||||
if desktop_path=$("$ace_cmd" scan_desktop_file_log "$target"); then
|
||||
log.info "Launching from $ace_env..."
|
||||
"$ace_cmd" launch_app $("$ace_cmd" scan_desktop_file "$target")
|
||||
return 0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
log.debug "Attempt in $ace_env failed"
|
||||
done
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
elif [ "$1" = "list" ];then
|
||||
scan_desktop_file "$2"
|
||||
if [ "$desktop_file_path" = "" ];then
|
||||
exit -1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
elif [ "$1" = "launch" ];then
|
||||
scan_desktop_file_log "$2"
|
||||
if [ "$desktop_file_path" = "" ];then
|
||||
log.error "No desktop file found. exit -1"
|
||||
exit -1
|
||||
fi
|
||||
# ===== 主逻辑 =====
|
||||
[ $# -lt 2 ] && {
|
||||
log.error "Usage: $0 {check|launch|list|start} package_name/desktop_file"
|
||||
exit 1
|
||||
}
|
||||
|
||||
case $1 in
|
||||
check)
|
||||
# 当前环境检查
|
||||
if scan_desktop_file_log "$2"; then
|
||||
exit 0
|
||||
else
|
||||
# 非ACE环境下执行ACE环境扫描
|
||||
[ -z "$IS_ACE_ENV" ] && ace_runner check "$2"
|
||||
exit $?
|
||||
fi
|
||||
;;
|
||||
|
||||
launch_app "${desktop_file_path}"
|
||||
list)
|
||||
# 当前环境列表
|
||||
if result=$(scan_desktop_file "$2"); then
|
||||
echo "$result"
|
||||
exit 0
|
||||
else
|
||||
# 非ACE环境下执行ACE环境扫描
|
||||
[ -z "$IS_ACE_ENV" ] && ace_runner list "$2"
|
||||
exit $?
|
||||
fi
|
||||
;;
|
||||
|
||||
elif [ "$1" = "start" ];then
|
||||
launch_app "${desktop_file_path}"
|
||||
fi
|
||||
launch|start)
|
||||
# 当前环境启动
|
||||
if scan_desktop_file_log "$2" && launch_app "$desktop_file_path"; then
|
||||
exit 0
|
||||
else
|
||||
# 非ACE环境下通过ACE环境启动
|
||||
[ -z "$IS_ACE_ENV" ] && ace_runner launch "$2"
|
||||
exit $?
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
log.error "Invalid command: $1"
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
|