diff --git a/README.md b/README.md index 2c99baa..10a8f61 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ <p width=100px align="center"><img width=40% src="icon/icon.svg"></p> -<h1 align="center">GXDE 内核管理器 1.0.1</h1> +<h1 align="center">GXDE 内核管理器 1.1.0</h1> <hr> <a href='https://gitee.com/GXDE-OS/gxde-kernel-manager/stargazers'><img src='https://gitee.com/GXDE-OS/gxde-kernel-manager/badge/star.svg?theme=dark' alt='star'></img></a> <a href='https://gitee.com/GXDE-OS/gxde-kernel-manager/members'><img src='https://gitee.com/GXDE-OS/gxde-kernel-manager/badge/fork.svg?theme=dark' alt='fork'></img></a> @@ -9,17 +9,36 @@ GXDE 内核管理器是一个帮助用户更方便获取、安装、移除内核 目前支持 amd64、arm64、mips64 和 loong64 四个架构 ***警告:请不要随意操作内核除非你知道你在做什么!*** +GXDE Kernel Manager is a kernel manager allows users to install or remove kernels easily. +Support architectures: amd64, arm64, mips64, loong64 +**Warning: You may damage your system unless you know what you will do!** +     ## 更新内容 -### 1.0.1(2024年05月03日) +### 1.1.0(2024.05.12) +**※1、支持从 apt 源读取内核数据并显示安装** +**※2、支持只显示与当前系统相同架构的内核** +**※3、下载/更新内核时支持调用 aptss 提升下载速度** +**※4、新增卸载所有内核时的窗口警告** +5、优化表格显示效果 +6、支持显示内核描述和版本 + +**※1. Support getting kernel data from apt database.** +**※2. Support showing only kernels that are the same as the local system architecture.** +**※3. Support using aptss to download packages faster.** +**※4. Show a warning message box when removing all kernels.** +5. Optimize the effect of the kernels table. +6. Support showing kernel descriptions and versions. + +### 1.0.1(2024.05.03) **1、修复部分系统无法打开管理器的问题** **2、新增 Sourceforge 源以准备支持大内核文件** -### 1.0.0(2024年05月02日) +### 1.0.0(2024.05.02)   @@ -47,5 +66,14 @@ sudo apt build-dep . sudo apt install fakeroot dpkg-buildpackage -b -us ``` +## 请作者喝杯茶 +如果您觉得 Wine 运行器对你有帮助,可以请作者喝杯茶 +<img src="Donate/Wechat.png" width="250" /> +<img src="Donate/Alipay.jpg" width="250" /> +<img src="Donate/QQ.png" width="250" > + +### 广告 +支付宝官方活动,扫描获得支付红包! +<p><img src="Donate/advertisement0.jpg" width="250" ></p> # ©2023~Now gfdgd xi \ No newline at end of file diff --git a/data/new/en_US.html b/data/new/en_US.html index cecbbf2..675c145 100644 --- a/data/new/en_US.html +++ b/data/new/en_US.html @@ -1,2 +1,10 @@ <h1>What's new?</h1> -<p>Test</p> \ No newline at end of file +<pre> +<b>※1. Support getting kernel data from apt database. +※2. Support showing only kernels that are the same as the local system architecture. +※3. Support using aptss to download packages faster. +※4. Show a warning message box when removing all kernels. +</b> +5. Optimize the effect of the kernels table. +6. Support showing kernel descriptions and versions. +</pre> \ No newline at end of file diff --git a/data/new/zh_CN.html b/data/new/zh_CN.html index 5a0332b..bffc2eb 100644 --- a/data/new/zh_CN.html +++ b/data/new/zh_CN.html @@ -3,7 +3,8 @@ <b>※1、支持从 apt 源读取内核数据并显示安装 ※2、支持只显示与当前系统相同架构的内核 ※3、下载/更新内核时支持调用 aptss 提升下载速度 +※4、新增卸载所有内核时的窗口警告 </b> -4、优化表格显示效果 -5、支持显示内核描述和版本 +5、优化表格显示效果 +6、支持显示内核描述和版本 </pre> \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 57983da..f6ac7b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,17 @@ -gxde-kernel-manager (1.0.1) UNRELEASED; urgency=medium +gxde-kernel-manager (1.1.0) UNRELEASED; urgency=medium - * Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP> - * + ※1、支持从 apt 源读取内核数据并显示安装 + ※2、支持只显示与当前系统相同架构的内核 + ※3、下载/更新内核时支持调用 aptss 提升下载速度 + ※4、新增卸载所有内核时的窗口警告 + 5、优化表格显示效果 + 6、支持显示内核描述和版本 - -- gfdgd_xi <3025613752@qq.com> Fri, 03 May 2024 18:57:33 +0800 + ※1. Support getting kernel data from apt database.* + ※2. Support showing only kernels that are the same as the local system architecture.* + ※3. Support using aptss to download packages faster.* + ※4. Show a warning message box when removing all kernels.* + 5. Optimize the effect of the kernels table. + 6. Support showing kernel descriptions and versions. + + -- gfdgd_xi <3025613752@qq.com> Sun, 12 May 2024 16:15:01 +0800 diff --git a/debian/control b/debian/control index 19718e4..59edfd9 100644 --- a/debian/control +++ b/debian/control @@ -12,13 +12,13 @@ Build-Depends: qttools5-dev-tools Standards-Version: 4.6.2 Homepage: https://gitee.com/GXDE-OS/gxde-kernel-manager -#Vcs-Browser: https://salsa.debian.org/debian/gxde-kernel-manager -#Vcs-Git: https://salsa.debian.org/debian/gxde-kernel-manager.git +Vcs-Git: https://gitee.com/GXDE-OS/gxde-kernel-manager.git Package: gxde-kernel-manager Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, -Description: GXDE 内核管理器 +Description: GXDE 内核管理器是一个帮助用户更方便获取、安装、移除内核的工具。 + GXDE Kernel Manager is a kernel manager allows users to install or remove kernels easily. diff --git a/mainwindow.cpp b/mainwindow.cpp index 7304348..f45d78e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -204,3 +204,9 @@ void MainWindow::on_actionUpgrade_triggered() installer->show(); } + +void MainWindow::on_actionDonate_triggered() +{ + QDesktopServices::openUrl(QUrl("https://gitee.com/GXDE-OS#%E8%AF%B7%E4%BD%9C%E8%80%85%E5%96%9D%E6%9D%AF%E8%8C%B6")); +} + diff --git a/mainwindow.h b/mainwindow.h index 41830a7..810f6ff 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -43,6 +43,8 @@ private slots: void on_actionUpgrade_triggered(); + void on_actionDonate_triggered(); + private: Ui::MainWindow *ui; KernelInformation *kernelInformation; diff --git a/mainwindow.ui b/mainwindow.ui index 516674b..9367092 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -127,6 +127,8 @@ <addaction name="actionGitee"/> <addaction name="actionGithub"/> <addaction name="separator"/> + <addaction name="actionDonate"/> + <addaction name="separator"/> <addaction name="actionAbout_QT"/> <addaction name="actionAbout"/> </widget> @@ -178,6 +180,11 @@ <string>Upgrade</string> </property> </action> + <action name="actionDonate"> + <property name="text"> + <string>Donate</string> + </property> + </action> </widget> <resources> <include location="Resource.qrc"/> diff --git a/translation/gxde-kernel-manager_zh_CN.ts b/translation/gxde-kernel-manager_zh_CN.ts index 88fdae1..8b17361 100644 --- a/translation/gxde-kernel-manager_zh_CN.ts +++ b/translation/gxde-kernel-manager_zh_CN.ts @@ -10,7 +10,7 @@ </message> <message> <location filename="../aboutwindow.ui" line="25"/> - <source><html><head/><body><p><img width=128 src=":/icon/icon.svg"/></p></body></html></source> + <source><html><head/><body><p><a href='https://gxde.gfdgdxi.top'><img width=128 src=":/icon/icon.svg"/></a></p></body></html></source> <translation type="unfinished"></translation> </message> <message> @@ -34,7 +34,12 @@ <translation>构建时间: </translation> </message> <message> - <location filename="../aboutwindow.cpp" line="25"/> + <location filename="../aboutwindow.cpp" line="21"/> + <source>QQ Group: 881201853</source> + <translation>QQ 交流群:881201853</translation> + </message> + <message> + <location filename="../aboutwindow.cpp" line="26"/> <source>Website</source> <translation>网址</translation> </message> @@ -143,45 +148,50 @@ <translation>帮助</translation> </message> <message> - <location filename="../mainwindow.ui" line="135"/> + <location filename="../mainwindow.ui" line="137"/> <source>Apt</source> <translation>Apt</translation> </message> <message> - <location filename="../mainwindow.ui" line="148"/> + <location filename="../mainwindow.ui" line="150"/> <source>Exit</source> <translation>退出</translation> </message> <message> - <location filename="../mainwindow.ui" line="153"/> + <location filename="../mainwindow.ui" line="155"/> <source>About</source> <translation>关于</translation> </message> <message> - <location filename="../mainwindow.ui" line="158"/> + <location filename="../mainwindow.ui" line="160"/> <source>Gitee</source> <translation>Gitee</translation> </message> <message> - <location filename="../mainwindow.ui" line="163"/> + <location filename="../mainwindow.ui" line="165"/> <source>Github</source> <translation>Github</translation> </message> <message> - <location filename="../mainwindow.ui" line="168"/> + <location filename="../mainwindow.ui" line="170"/> <source>Update apt cache</source> <translation>刷新 apt 缓存</translation> </message> <message> - <location filename="../mainwindow.ui" line="173"/> + <location filename="../mainwindow.ui" line="175"/> <source>About QT</source> <translation>关于 QT</translation> </message> <message> - <location filename="../mainwindow.ui" line="178"/> + <location filename="../mainwindow.ui" line="180"/> <source>Upgrade</source> <translation>升级</translation> </message> + <message> + <location filename="../mainwindow.ui" line="185"/> + <source>Donate</source> + <translation>请作者喝杯茶</translation> + </message> <message> <location filename="../mainwindow.cpp" line="23"/> <source>Kernel: </source> @@ -223,19 +233,44 @@ <translation>描述</translation> </message> <message> - <location filename="../mainwindow.cpp" line="85"/> - <location filename="../mainwindow.cpp" line="132"/> - <location filename="../mainwindow.cpp" line="156"/> + <location filename="../mainwindow.cpp" line="35"/> + <source>Version</source> + <translation>版本</translation> + </message> + <message> + <location filename="../mainwindow.cpp" line="91"/> + <location filename="../mainwindow.cpp" line="138"/> + <location filename="../mainwindow.cpp" line="173"/> <source>Error</source> <translation>错误</translation> </message> <message> - <location filename="../mainwindow.cpp" line="85"/> - <location filename="../mainwindow.cpp" line="132"/> - <location filename="../mainwindow.cpp" line="156"/> + <location filename="../mainwindow.cpp" line="91"/> + <location filename="../mainwindow.cpp" line="138"/> + <location filename="../mainwindow.cpp" line="173"/> <source>Nothing to choose</source> <translation>没有选择任何选项</translation> </message> + <message> + <location filename="../mainwindow.cpp" line="147"/> + <source>Warning</source> + <translation>警告</translation> + </message> + <message> + <location filename="../mainwindow.cpp" line="148"/> + <source>Are you sure you want to remove all installed kernel versions? Please note that this may render your system unstable or unbootable.</source> + <translation>你确定要移除所有的内核?如果移除后你的系统将无法正常启动。</translation> + </message> + <message> + <location filename="../mainwindow.cpp" line="149"/> + <source>Confirm</source> + <translation>确定</translation> + </message> + <message> + <location filename="../mainwindow.cpp" line="150"/> + <source>Cancel</source> + <translation>取消</translation> + </message> </context> <context> <name>QObject</name>