This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| # !/usr/bin/env python3 | |
| import argparse | |
| import logging | |
| import sys | |
| from typing import NamedTuple | |
| from pydantic import BaseModel | |
| import humanfriendly |
| /* | |
| * MIT License | |
| * | |
| * Copyright (c) 2023-2024 Fabio Lima | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
| #!/bin/sh | |
| # https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md | |
| cpuinfo=`cat /proc/cpuinfo | grep "Revision"|awk -F': ' '{printf $2}'` | |
| model=`cat /sys/firmware/devicetree/base/model` | |
| case ${cpuinfo} in | |
| "0002" ) | |
| echo "Revision : 0002 (Model B Rev 1, 256MB)" ;; | |
| "0003" ) |