pcercuei / libopk Goto Github PK
View Code? Open in Web Editor NEWLibrary to handle OpenDingux .opk packages
License: GNU General Public License v2.0
Library to handle OpenDingux .opk packages
License: GNU General Public License v2.0
When an application has a space in the name like "Sp. C4A Manager" or "Spartak Chess", the creation of the folder works, but mount tries to mount the opk to /mnt/Sp. or /mnt/Spartak.
I changed line 68 from
mount_cmd = "mount -o loop,nosuid,ro " + argv[2] + " " + mountpoint
to
mount_cmd = "mount -o loop,nosuid,ro " + argv[2] + " " + '"' + mountpoint + '"'
OPK fails to read the OPK file if there is no empty line at the end of the .desktop file.
Not a bug, but an improvement suggestion:
read lines with text, skip empty lines, last line can be empty or a property
cmake_minimum_required(VERSION 3.4) => cmake_minimum_required(VERSION 3.12)
add_compile_definitions() was introduced in cmake 3.12
Caution this libopk version is compiled by https://github.com/OpenDingux/buildroot/blob/od-rs90/package/cmake/cmake.mk (version cmake 3.8).
A fix should be made too there.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.