Is there an official way to locate the OneDrive directory on Windows and Mac? - onedrive

I need to locate the OneDrive folder on the user's hard drive for an app I'm working on.
I saw this answer for Windows - Get OneDrive path in Windows - although it is pretty old.
I'm wondering if there is an officially documented way.

For Windows 8.1 and up, you can use the Known Folder API described at http://msdn.microsoft.com/en-us/library/windows/desktop/dd378457(v=vs.85).aspx. For older versions of Windows, you could look at the registry, which is what you linked to It might be helpful although there aren't any guarantees from it.
For Mac, there isn't an officially supported way.

Related

IE11 compatible addon

I have to write an IE11 addon and I found some good sources for start but I always got stuck in the compatibile issue. Turning off of EPM is not allowed and we tried to enabled our prototype addon in GP (Using the CLSID and Administrative Templates to manage group policy objects) but the situation is the same.
I would like to know how I can write a compatible addon because I found nothing about it. What makes an addon compatible?
Which version is your addon is? 32-bit or 64-bit? EPM only allows 64-bit addons to run, so you need to generate a 64-bit version of addon if you want to use it in EPM. For more information, you can refer to this thread.
Besides, Enhanced Protected Mode isolates untrusted web content in a restricted environment that's known as an AppContainer. This process limits how much access malware, spyware, or other potentially harmful code has to your system. So you need to place your addon's DLL with an AppContainer-readable folder (e.g. a subfolder of the \Program Files\ folder). For more information, you can refer to this thread and this doc.

How to upgrade from iTunesLibrary in Catalina

I have an app that that uses the iTunes XML file to access the local library of songs. With the upgrade to Catalina the only way to do this is to manually generate the XML file, which is something I'd rather not ask of my users.
I did think of trying to see if the iTunesLibrary framework still works, but on my 2 Macs with Catalina installed the framework no longer contains the header files.
I've scoured the internet but found nothing that that will fix this. Any ideas?
As it turns out the instructions in the MacOS Developer documentation were wrong. In Catalina the framework is included standard and not in a separate folder, so it's easy to just include the framework and build

I have multiplatform apps in node-webkit. How do I convert them to nw.js?

I have a bunch of applications that run fine using node-webkit on Macs and Windows.
(They mostly live on shared Dropbox folders. They read and write to data files in the folder).
I gather node-webkit will not run on Mac Catalina.
So I am trying to figure out how to install and use nw.js
I need the Mac and Win versions of the app to be in the same directory. Multiple users will run their local Dropbox version of the app, and read/write to the shared data folders.
I cannot figure out how to get convert the app from node-webkit to nw.js
I've been unable to find an "idiot's guide" to this.
Any suggestions, or pointers to resources, would be most helpful.
Thanks in advance.
And apologies for posting what is probably a dumb question for most users of this site....
You have to run your app's old source code (node-webkit) with NW.js and fix all the exceptions thrown. You can find the migration guide here.

Distributing TideSDK application

I recently finished an application based on Titanium, Javascript, HTML, CSS. I have only been a web designer to date so I have little experience in distributing applications. I was accustomed to the TiDev Community deploying app, which prepared the app for download and made it available for download at a given link.
But tidev community is no longer supported, so I use TideSDK Developer to package the app, which doesnt do all the hard work the other one did so nicely.
I am obviously a complete rookie to this.
Could anyone outline the steps I would need to take to go from the bundled application folder I have now (put together by TideSDK Developer), to a link that will allow customers to download and install the app or online? I know there is an issue with packaoging the app for platforms other than your own, and that appcelerator is working on a solution to this I think. I also realise I would probably have to pay to host the download online. Any guidance would be greatly appreciated.
You must use the tidebuilder.py script. to compile a installation package. To compile a binary for a Mac, you must run the script on a Mac, to compile a binary for windows, you must be on a windows box etc.
There is some documentation on how to use it here per platform. The command is very simple and works.
Once you have your application file (DMG for OSX or a MSI for Windows) then just distribute it however you see fit, email, putting it on your web server, whatever works for you.

creating an OpenCascade Module for SALOME in the Windows Development Environment

I read a tutorial on how to do that in LINUX, but it looks like this cant be ported to windows so easily. SALOME gives us a development environment for windows and claims its crossplattform:
http://www.salome-platform.org/downloads/current-version
But the documentation does not specify the module creation process in windows (the documentation is only downloadable so i cant link it). To follow the LINUX tutorial, one has to find and edit several files that are missing in the windows distribution. Mainly these are files that are used in the make process of the linux salome module creation.
I hope anyone has some experience in this field.
SALOME doesn't support Windows currently, as the 3rd parties dependencies.
http://www.salome-platform.org/forum/forum_9/975821878