Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 73ecd9d

Browse filesBrowse files
committed
Actually copy files before running plugins
Some plugins like the Qt one expect libraries etc. to be deployed already, like the plugin spec defines. We should try to adhere to the spec.
1 parent 1ad4e5e commit 73ecd9d
Copy full SHA for 73ecd9d

1 file changed

+7Lines changed: 7 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/main.cpp‎

Copy file name to clipboardExpand all lines: src/main.cpp
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ int main(int argc, char** argv) {
143143
}
144144
}
145145

146+
// perform deferred copy operations before running input plugins to make sure all files the plugins might expect
147+
// are in place
148+
ldLog() << std::endl << "-- Copying files into AppDir --" << std::endl;
149+
if (!appDir.executeDeferredOperations()) {
150+
return 1;
151+
}
152+
146153
// run input plugins before deploying icons and desktop files
147154
// the input plugins might even fetch these resources somewhere into the AppDir, and this way, the user can make use of that
148155
if (inputPlugins) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.