Comments (3)
@hawx1993 你好,你把zoom的相关framework 复制到 static/capture_app/osx 这个文件下下面,这些framework就会被打包到 app.asar.unpacked
这个文件夹下面
js 文件里面这样写
var workdingDir = path.join(__dirname);
var resourcesPath = workdingDir.split("app.asar")[0]
var prefix = resourcesPath + "app.asar.unpacked/static/capture_app/osx/"
$.import(prefix + "util.framework");
$.import(prefix + "ZCommonUI.framework");
$.import(prefix + "cmmlib.framework");
$.import(prefix + "ZoomSDKChatUI.framework");
$.import(prefix + "ZoomSDK.framework");
from nodobjc.
@bumaociyuan static/capture_app/osx 这个目录是在项目的根目录创建的吗?还是需要怎么创建?
我刚才按照你这么写,然后我是在项目根目录创建的这个文件夹,并把zoomsdk framework移到这里,然后设置asarUnpack为spellchecker和sdk,然而app.asar.unpacked目录只有这两个文件夹,没有你说的framework
from nodobjc.
打包 app.asar.unpacked
参考 https://www.febugs.com/electron-plugin-package/
from nodobjc.
Related Issues (20)
- Doing an in-app purchase in Electron app for the Mac App Store HOT 1
- [Question] Are there any simple ways to get a binary data of NSData or NSInlineData? HOT 4
- Do I need some release procedure?
- Unable install nodobjc in electron project
- Please update with fixed ffi "callback has been garbage collected" (ffi-napi maybe?) HOT 1
- Activating an application - may be a bug
- can't install nodobjc HOT 2
- Question: Any help regarding usage of the NSSharingService (composeEmail)
- Error in electron 3.0.0 HOT 5
- TypeError: error setting argument 2 - writeInt64: Number/String 64-bit value required HOT 2
- Unable to call CoreTextFunctions
- $.import() is not importing nested frameworks
- .EKEventStore
- node event loop blocked whilst menus are active HOT 3
- crashed in electron 4.2.5 HOT 1
- is support Node V12 and electron 5+ HOT 3
- install error
- Question: how to create a NSWindow? HOT 1
- No native build was found for platform=darwin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodobjc.