diff --git a/.github/workflows/ubuntu-6.2.yml b/.github/workflows/ubuntu-6.2.yml index e0b21713..87515401 100644 --- a/.github/workflows/ubuntu-6.2.yml +++ b/.github/workflows/ubuntu-6.2.yml @@ -109,7 +109,7 @@ jobs: chmod a+x linuxdeploy-plugin-qt-x86_64.AppImage wget -c -nv "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" chmod a+x linuxdeploy-x86_64.AppImage - ./linuxdeploy-x86_64.AppImage --appdir appdir --output appimage --plugin qt -i redist/icons/goldendict.png -d redist/io.github.xiayifang.goldendict_ng.desktop + ./linuxdeploy-x86_64.AppImage --appdir appdir --output appimage --plugin qt -i redist/icons/goldendict.png -d redist/io.github.xiaoyifang.goldendict_ng.desktop - name: changelog id: changelog diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index eb0cc743..399d4000 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -93,7 +93,7 @@ jobs: chmod a+x linuxdeploy-plugin-qt-x86_64.AppImage wget -c -nv "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" chmod a+x linuxdeploy-x86_64.AppImage - ./linuxdeploy-x86_64.AppImage --appdir appdir --output appimage --plugin qt -i redist/icons/goldendict.png -d redist/io.github.xiayifang.goldendict_ng.desktop + ./linuxdeploy-x86_64.AppImage --appdir appdir --output appimage --plugin qt -i redist/icons/goldendict.png -d redist/io.github.xiaoyifang.goldendict_ng.desktop - name: changelog id: changelog diff --git a/CMakeLists.txt b/CMakeLists.txt index e30a13e4..356ba139 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,8 +191,8 @@ if (APPLE) endif () if (LINUX OR BSD) - install(FILES ${CMAKE_SOURCE_DIR}/redist/io.github.xiayifang.goldendict_ng.desktop DESTINATION share/applications) - install(FILES ${CMAKE_SOURCE_DIR}/redist/io.github.xiayifang.goldendict_ng.metainfo.xml DESTINATION share/metainfo) + install(FILES ${CMAKE_SOURCE_DIR}/redist/io.github.xiaoyifang.goldendict_ng.desktop DESTINATION share/applications) + install(FILES ${CMAKE_SOURCE_DIR}/redist/io.github.xiaoyifang.goldendict_ng.metainfo.xml DESTINATION share/metainfo) install(FILES ${CMAKE_SOURCE_DIR}/redist/icons/goldendict.png DESTINATION share/pixmaps) diff --git a/redist/io.github.xiayifang.goldendict_ng.desktop b/redist/io.github.xiaoyifang.goldendict_ng.desktop similarity index 100% rename from redist/io.github.xiayifang.goldendict_ng.desktop rename to redist/io.github.xiaoyifang.goldendict_ng.desktop diff --git a/redist/io.github.xiayifang.goldendict_ng.metainfo.xml b/redist/io.github.xiaoyifang.goldendict_ng.metainfo.xml similarity index 93% rename from redist/io.github.xiayifang.goldendict_ng.metainfo.xml rename to redist/io.github.xiaoyifang.goldendict_ng.metainfo.xml index bd92b272..8c8e850a 100644 --- a/redist/io.github.xiayifang.goldendict_ng.metainfo.xml +++ b/redist/io.github.xiaoyifang.goldendict_ng.metainfo.xml @@ -1,7 +1,7 @@ - io.github.xiayifang.goldendict_ng + io.github.xiaoyifang.goldendict_ng CC0-1.0 GPL-3.0-or-later GoldenDict-ng @@ -36,7 +36,7 @@ https://github.com/xiaoyifang/goldendict-ng/discussions https://github.com/xiaoyifang/goldendict-ng https://github.com/xiaoyifang/goldendict-ng - io.github.xiayifang.goldendict_ng.desktop + io.github.xiaoyifang.goldendict_ng.desktop org.goldendict_ng.desktop diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index aa89e204..eed471be 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -3089,7 +3089,7 @@ void MainWindow::setAutostart( bool autostart ) return; // Nothing to do. if ( autostart ) { const QString sourcePath = - Config::getProgramDataDir() + "../applications/io.github.xiayifang.goldendict_ng.desktop"; + Config::getProgramDataDir() + "../applications/io.github.xiaoyifang.goldendict_ng.desktop"; QFile::copy( sourcePath, destinationPath ); } else