diff --git a/README.md b/README.md index 5bd798b..5e60439 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ sudo apt install extra-cmake-modules qtbase5-dev qtdeclarative5-dev qtquickcontr ``` mkdir build cd build -cmake .. +cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make sudo make install ``` diff --git a/cutefish-videoplayer.desktop b/cutefish-videoplayer.desktop index 019b8c6..a188e4c 100644 --- a/cutefish-videoplayer.desktop +++ b/cutefish-videoplayer.desktop @@ -1,5 +1,6 @@ [Desktop Entry] -Name=Cutefish Video Player +Name=Video Player +Name[zh_CN]=视频播放器 Exec=cutefish-videoplayer %u Icon=cutefish-videoplayer Type=Application diff --git a/src/application.cpp b/src/application.cpp index f1ef915..f1d8017 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -67,6 +67,7 @@ Application::Application(int &argc, char **argv, const QString &applicationName) std::setlocale(LC_NUMERIC, "C"); m_engine = new QQmlApplicationEngine(this); + setupCommandLineParser(); registerQmlTypes(); setupQmlContextProperties();