Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix: Fixes excalidraw in the deb package.
Дамян Минков2d6be4ea274a
diff --git a/Makefile b/Makefileindex 16f29bd895..a685cba0c1 100644--- a/Makefile+++ b/Makefile@@ -59,6 +59,7 @@ deploy-appbundle:$(BUILD_DIR)/close3.min.js \$(BUILD_DIR)/close3.min.js.map \$(DEPLOY_DIR) || true+ cp -r $(BUILD_DIR)/chunks $(DEPLOY_DIR)/chunksdeploy-lib-jitsi-meet:cp \@@ -86,14 +87,12 @@ deploy-tflite:$(DEPLOY_DIR)deploy-excalidraw:- cp -R \- $(EXCALIDRAW_DIR) \- $(DEPLOY_DIR)/+ mkdir -p $(DEPLOY_DIR)/excalidraw+ cp -R $(EXCALIDRAW_DIR)/fonts $(DEPLOY_DIR)/excalidraw/deploy-excalidraw-dev:- cp -R \- $(EXCALIDRAW_DIR_DEV) \- $(DEPLOY_DIR)/+ mkdir -p $(DEPLOY_DIR)/excalidraw+ cp -R $(EXCALIDRAW_DIR_DEV)/fonts $(DEPLOY_DIR)/excalidraw/deploy-meet-models:cp \diff --git a/index.html b/index.htmlindex c624ca3ad7..53f9af7cb8 100644--- a/index.html+++ b/index.html@@ -22,7 +22,7 @@: pathname.substring(0, contextRootEndIndex + 1));}- window.EXCALIDRAW_ASSET_PATH = 'libs/';+ window.EXCALIDRAW_ASSET_PATH = 'libs/excalidraw/';// Dynamically generate the manifest location URL. It must be served from the document origin, and we may have// the base pointing to the CDN. This way we can generate a full URL which will bypass the base.document.querySelector('#manifest-placeholder').setAttribute('href', window.location.origin + contextRoot(window.location.pathname) + 'manifest.json');diff --git a/static/dialInInfo.html b/static/dialInInfo.htmlindex a0c08ff2f0..092ecc39d7 100644--- a/static/dialInInfo.html+++ b/static/dialInInfo.html@@ -6,7 +6,7 @@<!--#include virtual="/base.html" --><link rel="stylesheet" href="css/all.css"><script>- window.EXCALIDRAW_ASSET_PATH = 'libs/';+ window.EXCALIDRAW_ASSET_PATH = 'libs/excalidraw/';document.addEventListener('DOMContentLoaded', () => {if (!JitsiMeetJS.app) {return;diff --git a/static/prejoin.html b/static/prejoin.htmlindex af22321cdc..de103ad0ce 100644--- a/static/prejoin.html+++ b/static/prejoin.html@@ -6,7 +6,7 @@<!--#include virtual="/base.html" --><link rel="stylesheet" href="css/all.css"><script>- window.EXCALIDRAW_ASSET_PATH = 'libs/';+ window.EXCALIDRAW_ASSET_PATH = 'libs/excalidraw/';document.addEventListener('DOMContentLoaded', () => {if (!JitsiMeetJS.app) {return;diff --git a/static/whiteboard.html b/static/whiteboard.htmlindex e86903630a..441adb9998 100644--- a/static/whiteboard.html+++ b/static/whiteboard.html@@ -7,7 +7,7 @@<!--#include virtual="/base.html" --><link rel="stylesheet" href="css/all.css"><script>- window.EXCALIDRAW_ASSET_PATH = 'libs/';+ window.EXCALIDRAW_ASSET_PATH = 'libs/excalidraw/';document.addEventListener('DOMContentLoaded', async () => {if (!JitsiMeetJS.app) {diff --git a/webpack.config.js b/webpack.config.jsindex 2cd031f09e..859585168c 100644--- a/webpack.config.js+++ b/webpack.config.js@@ -151,6 +151,19 @@ function getConfig(options = {}) {},test: /\.(j|t)sx?$/,exclude: /node_modules/+ }, {+ // Emit woff2 fonts to excalidraw/fonts/ preserving the subdirectory+ // structure so they land at the same path that deploy-excalidraw copies+ // them to (libs/excalidraw/fonts/...) and CSS @font-face URLs resolve.+ test: /\.woff2$/,+ type: 'asset/resource',+ generator: {+ filename: pathData => {+ const match = pathData.filename?.match(/\/fonts\/(.*)/);++ return match ? `excalidraw/fonts/${match[1]}` : 'excalidraw/fonts/[name][ext]';+ }+ }}, {// Allow CSS to be imported into JavaScript.@@ -197,6 +210,7 @@ function getConfig(options = {}) {},output: {filename: `[name]${isProduction ? '.min' : ''}.js`,+ chunkFilename: `chunks/[id]${isProduction ? '.min' : ''}.js`,path: `${__dirname}/build`,publicPath: '/libs/',sourceMapFilename: '[file].map'