
Recherche avancée
Autres articles (72)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (4437)
-
Révision 18750 : attention : dans les tables _liens objet=’site’ pour les site, et non ’syndic’ (...
20 novembre 2011, par cedric - -
How can I bundle ffmpeg in an Electron application
14 janvier 2024, par jshbrnttI'm building an Electron application starting from the
electron-webpack
boilerplate.


I found this node module
@ffmpeg-installer/ffmpeg
which installs a compatible precompiled binary into the/node_modules
directory then makes the path of that executable accessible through.


const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path




This works fine during development, but when I build the distributable and run it I get an error when attempting to spawn a child process with that path. Presumably, because the path does not point at the binary.



The path is set to the following when running the distributable.



/Users/me/project/dist/mac/AppName.app/Contents/Resources/app.asar/node_modules/@ffmpeg-installer/darwin-x64/ffmpeg




However, when looking in the
AppName.app
package contents I find the binary in the following path.


/Users/me/project/dist/mac/AppName.app/Contents/Resources/app.asar.unpacked/node_modules/@ffmpeg-installer/darwin-x64/ffmpeg




How should I include binary dependencies in an Electron application using
electron-webpack
andelectron-builder
?

-
Fixed #177 - Fix validation of a single radio or checkbox input
13 septembre 2011, par Eric Naesethm changelog.txt m jquery.validate.js m test/test.js Fixed #177 - Fix validation of a single radio or checkbox input The validator element() method delegates to check(). When check() is passed a radio or checkbox input element (call it ’A’), it instead checks the first element with the same name (...)