Browse Source

flatpak: Cleanup unwanted static libraries

The CEF static library in special is gigantic (50MB+) and
was significantly increasing the bundle size.
Georges Basile Stavracas Neto 4 years ago
parent
commit
2b1eda69e7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      CI/flatpak/com.obsproject.Studio.json

+ 3 - 1
CI/flatpak/com.obsproject.Studio.json

@@ -140,7 +140,8 @@
       "no-autogen": true,
       "cleanup": [
         "/bin",
-        "/include"
+        "/include",
+        "*.a"
       ],
       "sources": [
         {
@@ -236,6 +237,7 @@
         "cp -R ./libcef_dll_wrapper/libcef_dll_wrapper.a /app/cef/libcef_dll_wrapper"
       ],
       "cleanup": [
+        "*.a",
         "./*"
       ],
       "sources": [