.app

Run .app file in iOS 8 simulator

安稳与你 提交于 2019-12-20 12:37:25
问题 I have a .app file shared from a developer which i would like to run in iOS 8 simulator. I have seen similar questions which has solutions for older versions of iOS which is no longer working for iOS 8. Can someone point out what needs to be done to run the .app file in an iOS 8 simulator without using xcode. 回答1: Boot the simulator you want to install it to in the iOS Simulator and then do the following: xcrun simctl install booted /path/to/Your.app xcrun simctl launch booted com.yourcompany

Java on OS X: “open” command won't run if .app package contains a JVM bundle

拈花ヽ惹草 提交于 2019-12-12 03:44:56
问题 I'm trying to create a self-contained Mac app from a Java application. I've set up the .app directory, configured the Info.plist file, baked in dependencies as well as a Java runtime. I am successfully able to open the .app and launch the program and everything works except for one peculiar piece of code: ProcessBuilder pb = new ProcessBuilder("open", "/Applications/TextEdit.app"); pb.start(); When I launch the .app, this code does not seem to run or at least do anything. If I open the

.app domian Apache directive only added to port 80 config not loading - works on other gTLDs

给你一囗甜甜゛ 提交于 2019-12-11 16:57:20
问题 So I have the following settings in my apache http virtualhost :80 config: <Location "/analytics/"> ProxyPreserveHost On ProxyPass "http://192.168.1.1/" ProxyPassReverse "http://192.168.1.1/" </Location> This works fine when connecting on http and even applies to https when using a normal gTLD like .com / .org. But when using this on an .app gTLD the config does not work at all. It seems like because of the forced SSL HTTPS nature of the .app gTLD, its not even loading the Apache :80 config?

Obtain path of jar when running inside a .app on mac os x

依然范特西╮ 提交于 2019-12-11 11:39:13
问题 I've my javafx jar running inside a .app. Now if I execute System.getProperty("user.dir") I get location of user home i.e. /Users/DevAccount/ where DevAccount is system user name instead of location of .app file or .jar file. How do I find where the .app is actually running from at runtime? Alternatively please suggest how to set java.library.path to a folder within a .app bundle. Note: If I run jar outside .app I'm able to set java.library.path as desired but when .app is run, user.dir

Put a Java app in the Dock on Mac OS X

浪尽此生 提交于 2019-12-11 04:48:45
问题 I've created an app in java and I would like to be able to put it in the dock on Mac OS X . It's not possible to do it with the .jar file, so I've wrapped it in an .app folder. Now it won't even start. The app creates files in the same directory as the MyApplication.jar file and I thought this might be the problem. Can you write files in the MyApplication.app directory? If not, what might be causing this problem? 回答1: You may be missing the JavaApplicationStub or some critical element in your

Changing WxPython app Mac menu bar title?

人盡茶涼 提交于 2019-12-11 03:47:11
问题 I've made a .app with my WxPython script, and it's just about finished. The problem is, the menu bar title reads "Python". How can this be changed? Would I use wx.Menu()/wx.MenuBar(), or is this a problem with the .app file itself? 回答1: Be sure to use Py2app, and make sure the .plist is filled out correctly, IE CFBundleName and CFBundleDisplayName. 回答2: Edit: My old answer does not work. This question is related to yours, though they are asking about QT: Setting Mac OSX Application Menu menu

How do I make my program, written in Java, usable to other people?

邮差的信 提交于 2019-12-10 10:44:33
问题 So I've written a funny little program and I want to show it to some of my friends. My friends, not being programmers, have no idea what to do if I send them the folder containing the necessary classes and files. I want to be able to email them something (or put it on a cd/thumbdrive) that they can then double click and have it run the program. I have absolutely no clue how to make this happen. I'm taking a class and we use linux computers (I use a mac when I'm not in class) and we have to

iPhone : run .app to iPhone Simulator

独自空忆成欢 提交于 2019-12-06 15:20:23
问题 I got a .app folder from a developer friend. I would try his application and run .app to my iPhone Simulator, without XCode. Is there a way to run this .app to my iPhone Simulator ? Of course this .app has been built for iPhone Simulator target. 回答1: Try something like this: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication path_to_your_app/YourFavouriteApp.app/YourFavouriteApp 来源: https:/

Python app which reads and writes into its current working directory as a .app/exe

a 夏天 提交于 2019-12-06 04:39:37
I have a python script which reads a text file in it's current working directory called "data.txt" then converts the data inside of it into a json format for another separate program to handle. The problem i'm having is that i'm not sure how to read the .txt file (and write a new one) which is in the same directory as the .app when the python script is all bundled up. The current method i'm using doesn't work because of something to do with it using the fact that it's ran from the terminal instead of executed as a .app? Any help is appreciated! A .app on the Mac doesn't have any reasonable

iPhone : run .app to iPhone Simulator

浪尽此生 提交于 2019-12-04 19:19:59
I got a .app folder from a developer friend. I would try his application and run .app to my iPhone Simulator, without XCode. Is there a way to run this .app to my iPhone Simulator ? Of course this .app has been built for iPhone Simulator target. Try something like this: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication path_to_your_app/YourFavouriteApp.app/YourFavouriteApp 来源: https://stackoverflow.com/questions/7362852/iphone-run-app-to-iphone-simulator