Giter VIP home page Giter VIP logo

Comments (4)

micmil avatar micmil commented on May 30, 2024 1

I think I got it working. Looks like Apple changed the output of the "system_profiler SPApplicationsDataType". This line needs to be changed to:

# get all non-64 Bit applications from the initial list ThirtyTwoBit_app_list=$(echo "$ThirtyTwoBit_app_list" | /usr/bin/grep -B1 "Kind: 32-bit (Unsupported)")

The previous grep was pulling lines after the application type; it now needs to pull only one line above. They also changed how the 32/64 type is output. I don't have an example of the old output, but here's an example of the new output on Catalina:

AppleMobileDeviceHelper:

      Version: 5.0
      Obtained from: Apple
      Last Modified: 2/26/20, 1:51 AM
      Signed by: Software Signing, Apple Code Signing Certification Authority, Apple Root CA
      Location: /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/AppleMobileDeviceHelper.app
      Kind: 64-bit

I have to get my Big Sur test box running first before I test it there (ugh).

from rtrouton_scripts.

aduffner avatar aduffner commented on May 30, 2024

Does it produce an empty file at "/private/var/log/32bit_apps_installed.log"?

from rtrouton_scripts.

micmil avatar micmil commented on May 30, 2024

No it says "No 32-bit applications found in /Applications, /Library or /usr/local."

from rtrouton_scripts.

aduffner avatar aduffner commented on May 30, 2024

Okay, I looked into it. The script does a simple grep for "64-bit (Intel): No" and forwards the result of the command "/usr/sbin/system_profiler SPApplicationsDataType". You could look at the result of the command to figure out how to find a more reliable way. The script was edited 2 years ago, so of course apple may changed something.

from rtrouton_scripts.

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.