diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 5023192..7c11507 100755
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -5,7 +5,7 @@ description: |
Deploy Qt Projects. this application extract all depends library of executable and create launch script for your application. |
All you need is to select a folder with a compiled libraries of qt and a folder with your project.
grade: stable # must be 'stable' to release into candidate/stable channels
-confinement: strict # use 'strict' once you have the right plugs and slots
+confinement: classic # use 'strict' once you have the right plugs and slots
icon: snap/gui/icon.png
diff --git a/source/CPP/utils.cpp b/source/CPP/utils.cpp
index 2151fc7..4120c19 100644
--- a/source/CPP/utils.cpp
+++ b/source/CPP/utils.cpp
@@ -5,7 +5,7 @@
QString Utils::getVersion(){
- QFileInfo f("./../snap/snapcraft.yaml");
+ QFileInfo f(":/snapcraft/snapcraft");
QFile file(f.absoluteFilePath());
if(file.open(QIODevice::ReadOnly)){
diff --git a/source/qml.qrc b/source/qml.qrc
index a29491a..4267adc 100755
--- a/source/qml.qrc
+++ b/source/qml.qrc
@@ -18,4 +18,7 @@
languages/en.qm
languages/ru.qm
+
+ ../snap/snapcraft.yaml
+