GithubHelp home page GithubHelp logo

Dynamic Linking Error about nodobjc HOT 3 OPEN

hawx1993 avatar hawx1993 commented on July 29, 2024
Dynamic Linking Error

from nodobjc.

Comments (3)

bumaociyuan avatar bumaociyuan commented on July 29, 2024

@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.

hawx1993 avatar hawx1993 commented on July 29, 2024

@bumaociyuan static/capture_app/osx 这个目录是在项目的根目录创建的吗?还是需要怎么创建?

我刚才按照你这么写,然后我是在项目根目录创建的这个文件夹,并把zoomsdk framework移到这里,然后设置asarUnpack为spellchecker和sdk,然而app.asar.unpacked目录只有这两个文件夹,没有你说的framework

from nodobjc.

bumaociyuan avatar bumaociyuan commented on July 29, 2024

打包 app.asar.unpacked 参考 https://www.febugs.com/electron-plugin-package/

from nodobjc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.